Commit graph

19060 commits

Author SHA1 Message Date
brickmonster
19599e41d1 Add missing UPDATE_HAT and UPDATE_LIST_ORDER to some paper-added functions in ClientboundPlayerInfoUpdatePacket (#11731) 2024-12-11 21:17:33 +00:00
96DarkCode96
830f9b021c Fix Player.setPlayerListOrder to send update to clients (#11729) 2024-12-11 19:29:51 +01:00
Vaan1310
ef4609df02 Fix/scoreboard delegate (#11453) 2024-12-08 23:37:39 +01:00
Kobe ⑧
cc10499354 Readd shear methods from bukkit Shearable (#11715)
* Re-add shear methods from bukkit Shearable

* Add back
2024-12-08 14:05:17 -08:00
Rick
5cd1518c9a 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 22:43:09 +01:00
Newwind
68df2c9e52 Add command block material tags (#11720) 2024-12-08 21:40:02 +00:00
Marc Baloup
ba939d1391 Brigadier: fix simpleUnwrap not keeping redirect modifier and forks properties from original node (#11654) 2024-12-08 22:23:55 +01:00
Jake Potrebic
a53051b155 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
e7ac163b76 Update getKey impls for inlineable types 2024-12-07 22:08:31 -08:00
Nassim Jahnke
04df9cac25 Add ItemMeta customName methods (#11685) 2024-12-07 20:05:14 +01:00
Jason Penilla
41f4119eb0 Fix broken joml metadata resulting in kotlin being included on compile/runtime classpath (#11712) 2024-12-05 15:10:10 -07:00
Nassim Jahnke
640db1bea9 Fixup PlayerPickItemEvent docs more 2024-12-05 18:50:00 +01:00
Lulu13022002
1e7128544f Add new bundle animation (#11708) 2024-12-05 18:29:24 +01:00
Nassim Jahnke
c6e8192e3b More moving around of hunks 2024-12-05 14:44:50 +01:00
Nassim Jahnke
10cba26ae2 Move around patches again 2024-12-05 11:18:29 +01:00
Jake Potrebic
da567b2d9a Port exact choice improvements (#11705) 2024-12-05 01:51:01 -08:00
Nassim Jahnke
f4817c9013 Finish PlayerPickItemEvent 2024-12-05 10:27:55 +01:00
Lulu13022002
4758f1202f call EntityInsideBlockEvent for eyeblossom 2024-12-04 21:49:46 +01:00
Lulu13022002
7d18cb068e 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
f93c8c78db add missing effect cause, for bee being poisoned 2024-12-04 20:24:11 +01:00
Lulu13022002
02ae3f591b fix asset id 2024-12-04 20:01:17 +01:00
Lulu13022002
68e1550ec9 fix components 2024-12-04 19:39:35 +01:00
Lulu13022002
6d270af78c fix item meta 2024-12-04 18:47:33 +01:00
Jason Penilla
0891cf604b Update setup-gradle action
setup-gradle v4 validates the wrapper
2024-12-04 10:33:50 -07:00
Spottedleaf
8999170435 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
97afdbfb02 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
7a307edd46 Update readme, set updatingMinecraft to false 2024-12-04 11:05:07 +01:00
Owen1212055
ebc080b944 Implement assetid 2024-12-04 00:33:47 -05:00
Owen1212055
0eefdfb97a Implement new CustomModelData 2024-12-04 00:26:31 -05:00
Jason Penilla
606d8d99f8 Fix api build script deprecation 2024-12-03 20:50:18 -07:00
Jason Penilla
39ab1fb456 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
8aed12873b Update paperweight and Gradle wrapper 2024-12-03 20:28:39 -07:00
Jason Penilla
2b69f2bf9a Use ConcurrentUtil from Paper repo 2024-12-03 20:04:41 -07:00
Jason Penilla
572fb23805 Update Moonrise 2024-12-03 15:26:43 -07:00
Jason Penilla
5a0e5546e6 Update DataConverter 2024-12-03 15:21:36 -07:00
Nassim Jahnke
df479182fe Add back post_teleport chunk ticket 2024-12-03 22:56:26 +01:00
Nassim Jahnke
636439f610 Fix jd gson version, move back mc util diff 2024-12-03 22:37:48 +01:00
Nassim Jahnke
6eb70d323b Tests succeed (by removing one) 2024-12-03 22:20:30 +01:00
Nassim Jahnke
b4c75aa92c Compilation fixes 2024-12-03 22:06:05 +01:00
Jason Penilla
5e0c01db49 Set java launcher for api generate task 2024-12-03 13:34:44 -07:00
Nassim Jahnke
e88124493c Update generated classes 2024-12-03 21:32:05 +01:00
Nassim Jahnke
834a4c4a8d Apply remaining patches, fix API 2024-12-03 21:24:17 +01:00
Nassim Jahnke
e3db6ac6e4 moonrise 2024-12-03 21:11:09 +01:00
Nassim Jahnke
0e668caa27 Even more work 2024-12-03 21:03:25 +01:00
Nassim Jahnke
a894c3a437 Some fixes, start updating CustomModelData API 2024-12-03 20:58:25 +01:00
Nassim Jahnke
2c2dadf75b More more more more work 2024-12-03 20:34:55 +01:00
Nassim Jahnke
39c2c1d5f7 More more more work 2024-12-03 19:54:10 +01:00
Nassim Jahnke
3af13e34fb More more work 2024-12-03 19:21:12 +01:00
Nassim Jahnke
529f01a04a More work 2024-12-03 19:05:31 +01:00
Nassim Jahnke
2103d82751 Work 2024-12-03 18:27:11 +01:00