Commit graph

9510 commits

Author SHA1 Message Date
Bjarne Koll
bb76819589
Pass correct damage to EntityDamageItemEvent (#11744) 2024-12-15 10:36:10 +01:00
brickmonster
b746d9df0b
Add missing UPDATE_HAT and UPDATE_LIST_ORDER to some paper-added functions in ClientboundPlayerInfoUpdatePacket (#11731) 2024-12-11 22:17:33 +01:00
96DarkCode96
4803421326
Fix Player.setPlayerListOrder to send update to clients (#11729) 2024-12-11 19:29:51 +01:00
Nassim Jahnke
8dc76e7152
[ci skip] Move back more 2024-12-11 12:13:51 +01:00
Vaan1310
c17ef64339
Fix/scoreboard delegate (#11453) 2024-12-08 17:37:39 -05:00
Kobe ⑧
15b2aa1d30
Readd shear methods from bukkit Shearable (#11715)
* Re-add shear methods from bukkit Shearable

* Add back
2024-12-08 17:05:17 -05:00
Rick
07ef2bbab9
Fix incorrect command serialization by creating new Command (#11671)
Fixes #11649 - As noted in the issue, when CommandNodes are serialized
they are used as the key in a Map. Their equals()/hashcode() should only    match if they are equal nodes (name & command), but due to the erasure of the command field pre-serialization, nodes with different commands can be mapped onto the same value. This causes the client to interpret both nodes as the same, causing suggestions where they should not.

This is fixed by creating a different no-op command for the
erasure, instead of them holding the same lambda.
2024-12-08 16:43:09 -05:00
Newwind
fabd859878
Add command block material tags (#11720) 2024-12-08 22:40:02 +01:00
Marc Baloup
bdfa1f6864
Brigadier: fix simpleUnwrap not keeping redirect modifier and forks properties from original node (#11654) 2024-12-08 16:23:55 -05:00
Jake Potrebic
dae475b636
Switch Impl types to Holderable (#11662)
* Switch Impl types to Holderable

* Fix compile issues

* more improvements

* compile fixes

* remove unneeded unwrapAndConvertHolder call

---------

Co-authored-by: Bjarne Koll <git@lynxplay.dev>
2024-12-08 12:50:55 -08:00
Jake Potrebic
71a367ec84
Update getKey impls for inlineable types 2024-12-07 22:08:31 -08:00
Nassim Jahnke
5403894bd4
Add ItemMeta customName methods (#11685) 2024-12-07 20:05:14 +01:00
Jason Penilla
d4630f1223
Fix broken joml metadata resulting in kotlin being included on compile/runtime classpath (#11712) 2024-12-05 15:10:10 -07:00
Nassim Jahnke
346b9b8d2d
Fixup PlayerPickItemEvent docs more 2024-12-05 18:50:00 +01:00
Lulu13022002
77afb9aa78
Add new bundle animation (#11708) 2024-12-05 18:29:24 +01:00
Nassim Jahnke
4c39ea20c4
More moving around of hunks 2024-12-05 14:44:50 +01:00
Nassim Jahnke
e4e24f3335
Move around patches again 2024-12-05 12:20:56 +01:00
Jake Potrebic
c54c062e6f
Port exact choice improvements (#11705) 2024-12-05 10:51:01 +01:00
Nassim Jahnke
ae060b31f0
Finish PlayerPickItemEvent 2024-12-05 10:27:55 +01:00
Lulu13022002
bb4fb5334e
call EntityInsideBlockEvent for eyeblossom 2024-12-04 21:49:46 +01:00
Lulu13022002
4806ce5cd5
properly override push/knockback methods
This prevent the creaking from being pushed with knockback
enchant when it can't move
2024-12-04 21:05:57 +01:00
Lulu13022002
2a4ba00d9f
add missing effect cause, for bee being poisoned 2024-12-04 20:24:11 +01:00
Lulu13022002
e73d39671d
fix asset id 2024-12-04 20:01:17 +01:00
Lulu13022002
2206b9a5f2
fix components 2024-12-04 19:39:35 +01:00
Lulu13022002
b0d7153f50
fix item meta 2024-12-04 18:47:33 +01:00
Jason Penilla
1cc86be2b8
Update setup-gradle action
setup-gradle v4 validates the wrapper
2024-12-04 10:33:50 -07:00
Spottedleaf
416a733048 Apply coordinate offset only to VoxelShape
VoxelShape coordiantes generally are an integer + a sum of powers of
two between [-1, -3]. Most offsets are generally an integer. As
a result, applying an offset to the coordinates generally results
in an error of 0. However, coordinate inputs do not follow such
trends. Thus, when applying an offset to the coordinate input,
there may be some floating point error.

By applying the offset to the VoxelShape coordinates, we can
eliminate additional floating point error.

This change also fixes the inconsistency when using
the single AABB, as input coordinates were not offset
when using the single AABB as the single AABB is already
offset.

Fixes https://github.com/Tuinity/Moonrise/issues/81
This specific issue is caused by floating point error resulting
in the falling anvil's y position becoming around -8E-17 when it
should be 0.
While this is still very comfortably in the collision
epsilon (1.0E-7), this results in the falling anvil's y block
position to become -1 (as the block position is simply
the floor of the coordinate).
2024-12-04 02:52:58 -08:00
Nassim Jahnke
747cac4f91
Updated Upstream (CraftBukkit)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

CraftBukkit Changes:
c294e05d7 SPIGOT-7975: Fix issue with Pale Sapling growing
c9f5a8fdf SPIGOT-7974: Fix Crash for Creaking Heart Block particle
2024-12-04 11:11:12 +01:00
Nassim Jahnke
d0645d92b0
Update readme, set updatingMinecraft to false 2024-12-04 11:05:07 +01:00
Owen1212055
3b35456b3f
Implement assetid 2024-12-04 00:33:47 -05:00
Owen1212055
7e601ad916
Implement new CustomModelData 2024-12-04 00:26:31 -05:00
Jason Penilla
cbd578c7b5
Fix api build script deprecation 2024-12-03 20:50:18 -07:00
Jason Penilla
e5bf173f6a
Always fork jvm for compile, even when using the Gradle runtime jvm
Fixes spurious build failures from OOM
2024-12-03 20:42:36 -07:00
Jason Penilla
ef0670c2b7
Update paperweight and Gradle wrapper 2024-12-03 20:28:39 -07:00
Jason Penilla
5a362b8759
Use ConcurrentUtil from Paper repo 2024-12-03 20:04:41 -07:00
Jason Penilla
65633e373c
Update Moonrise 2024-12-03 15:26:43 -07:00
Jason Penilla
7045b2ad2d
Update DataConverter 2024-12-03 15:21:36 -07:00
Nassim Jahnke
e2dd1d514c
Add back post_teleport chunk ticket 2024-12-03 22:56:26 +01:00
Nassim Jahnke
b0603dab45
Fix jd gson version, move back mc util diff 2024-12-03 22:37:48 +01:00
Nassim Jahnke
6c35392880
Tests succeed (by removing one) 2024-12-03 22:20:30 +01:00
Nassim Jahnke
b8aeecb520
Compilation fixes 2024-12-03 22:06:05 +01:00
Jason Penilla
71a4ef8d06
Set java launcher for api generate task 2024-12-03 13:34:44 -07:00
Nassim Jahnke
f863bb71b0
Update generated classes 2024-12-03 21:32:40 +01:00
Nassim Jahnke
d7d2f88893
Apply remaining patches, fix API 2024-12-03 21:24:17 +01:00
Nassim Jahnke
dc74c6f19e
moonrise 2024-12-03 21:11:09 +01:00
Nassim Jahnke
2331dad0a0
Even more work 2024-12-03 21:03:25 +01:00
Nassim Jahnke
4601dc901b
Some fixes, start updating CustomModelData API 2024-12-03 20:58:25 +01:00
Nassim Jahnke
5265287323
More more more more work 2024-12-03 20:46:25 +01:00
Nassim Jahnke
bd55e322d8
More more more work 2024-12-03 20:00:08 +01:00
Nassim Jahnke
c60e47fa58
More more work 2024-12-03 19:28:24 +01:00