19503 Commits

Author SHA1 Message Date
Nassim Jahnke
c853e38b9f
Save as snbt 2025-04-12 09:48:51 +02:00
Shane Freeder
9742f95e59
Fix reconstruction of components tag 2025-04-10 22:32:42 +01:00
Shane Freeder
724c0b95c7
more testing 2025-04-10 22:32:42 +01:00
Shane Freeder
e5203be5f6
Add support for reading back v2 schema type, misc cleaning 2025-04-10 22:32:42 +01:00
Shane Freeder
fcb9b58684
Convert to json instead 2025-04-10 22:32:42 +01:00
Shane Freeder
cb22b17218
Cursory conversion towards using SNBT for ItemStack Configuration serialization 2025-04-10 22:32:40 +01:00
Shane Freeder
588cb0bdc4
Convert to json instead 2025-04-10 22:29:54 +01:00
Shane Freeder
4bf7915cfe
Cursory conversion towards using SNBT for ItemStack Configuration serialization 2025-04-10 22:29:53 +01:00
Tamion
62256c5182 add missed cow diff 2025-04-09 20:32:53 +02:00
Tamion
cb0676a402
Commodore for Potions and Cows 2025-04-09 16:27:15 +02:00
Bjarne Koll
212dfc9418
Correctly track raw data reader index for antixray
The written buffer no longer prefixes the byte[] with the varint len.
2025-04-09 14:23:49 +02:00
Bjarne Koll
e8eba887f4
Merge remote-tracking branch 'origin/main' into update/1.21.5 2025-04-07 13:31:07 +02:00
Bjarne Koll
0cf731589a
Bump to adventure 4.20.0 (#12391)
* Update adventure to 4.19.0

The update only includes a new configuration for MiniMessage,
specifically one to prevent it from emitting virtual components.
As virtual components break the generated component tree, items quickly
become unstackable with items generated before adventure 4.18.

Plugin developers may construct their own mini message instance which
will emit virtual components if they so choose.

* Bump to adventure 4.20.0
2025-04-07 13:29:57 +02:00
Nassim Jahnke
42623c4b27
no patch 2025-04-03 23:00:10 +02:00
Nassim Jahnke
9f50f8583b
patch 2025-04-03 22:50:58 +02:00
Owen1212055
35b466e315
Add support for getting data components from entities 2025-04-03 00:44:35 -04:00
Spottedleaf
7612b5d0b6 Add identifier comparator for Plugin tickets
This fixes errors thrown when trying to add or remove the tickets.
2025-04-02 14:05:57 -07:00
Nassim Jahnke
71ccae0773
Revert "move block data/state impl"
This reverts commit 41a094cf3d05bd2b167d1bb93f0a1eeda200dab3.
2025-04-02 19:02:18 +02:00
Nassim Jahnke
e7b684ed07
fix 2025-04-02 18:57:08 +02:00
Nassim Jahnke
cc0f25cb15
Apply more feature patches 2025-04-02 18:48:35 +02:00
Spottedleaf
ef0f0d101f Copy Moonrise 1.21.5 update over 2025-04-01 19:15:51 -07:00
Spottedleaf
e9d00eb6ca Apply Moonrise patch
This does not compile. The goal was to get the patch close to
the 1.21.4 variant so that applying changes from the Moonrise mod
would be as simple as possible.

Note: Some diffs were applied from 1.21.5, most were not.
2025-04-01 17:43:04 -07:00
Spottedleaf
745881bb34 Update Moonrise common for 1.21.5 2025-04-01 16:50:21 -07:00
Spottedleaf
a1c4fc963a Add generic ticket identifier
Currently only implemented for Plugin tickets as
all ticket add methods no longer include the identifier parameter.

This prevents plugin tickets from stepping over each other. If need
be, the ticket identifiers can be used for FUTURE_AWAIT and CHUNK_LOAD
and they should work.
2025-04-01 16:21:09 -07:00
Spottedleaf
cdad49b78b Do not mark plugin tickets as forced; keep correct ticket types
Plugin tickets being marked as forced will mess up the forceload
command.

CHUNK_LOAD and FUTURE_AWAIT are the only tickets that should be
preserved on shutdown - logic that is waiting on these to finish
loading is not capable of handling a failure to load.
The logic in general is also not capable of handling the removal
of the ticket identifier in 1.21.5. It is possible to fix these
shortcomings but Moonrise will resolve them, so why bother.
2025-04-01 15:59:52 -07:00
Bjarne Koll
db8c646d00
Merge remote-tracking branch 'origin/main' into update/1.21.5 2025-03-31 12:36:25 +02:00
Lulu13022002
6b26b21940
remove hardcoded durability from material 2025-03-30 15:19:06 +02:00
Lulu13022002
41a094cf3d
move block data/state impl 2025-03-30 14:45:55 +02:00
Lulu13022002
a70f7745a8
fix unsaveable launched trident 2025-03-29 14:17:35 +01:00
Bjarne Koll
4a9bd2e370
Correctly clear items in PlayerDeathEvent 2025-03-29 11:32:45 +01:00
Lulu13022002
87c9d9b0a4
be more lenient on url parsing for legacy format
fix some issues with url like google.co\m
2025-03-29 11:30:37 +01:00
MiniDigger | Martin
dca4aab872 add util methods to CraftChatMessage 2025-03-29 11:17:48 +01:00
MiniDigger | Martin
ae99e24fd8 fix deprecated bungee chat api methods 2025-03-29 10:59:32 +01:00
Lulu13022002
2552abf0cb
fix message mutation in PlayerSetSpawnEvent 2025-03-28 22:28:58 +01:00
Nassim Jahnke
ce91a8ca12
Move out unapplied feature patches 2025-03-27 18:19:39 +01:00
Nassim Jahnke
cf1455e504
Ignore private methods in MaterialReroutingTest 2025-03-27 17:56:51 +01:00
Bjarne Koll
d2afd149ee
Bump some more numbers to 1.21.5
Bumps README examples and legacy spigot mapping constants.
2025-03-27 17:50:04 +01:00
Nassim Jahnke
9e08de6ead
Re-add old SmithingTrimRecipe constructors
Defaults to BOLT for now, but may be changed to throw an exception instead
2025-03-27 17:27:49 +01:00
Nassim Jahnke
9b1798d643
Simplify custom payload handling (#12347) 2025-03-27 14:22:38 +01:00
Lulu13022002
77382fcb13
fix unbreakable shields 2025-03-26 23:57:04 +01:00
Lulu13022002
c4f0b2b0c9
update more test 2025-03-26 22:18:39 +01:00
Lulu13022002
06a26ec280
update legacy test 2025-03-26 21:34:42 +01:00
Lulu13022002
b92137c10f
load the PDC for new block entities 2025-03-26 21:20:19 +01:00
Lulu13022002
b6d70a9c3b
Generators
Tasks:

rewriteApi/rewriteImpl to replace content in between comments
rewrite to run rewriteApi and rewriteImpl

generateApi/generateImpl to generate new content
generate to run generateApi and generateImpl
2025-03-26 20:06:12 +01:00
MiniDigger | Martin
fa0dd15d14 add missed nullability annotations 2025-03-26 19:34:33 +01:00
Lulu13022002
95beb8c0bc
register wolf sound variant 2025-03-25 21:08:22 +01:00
Bjarne Koll
3be8a83c42
Allow picking items from inventory 2025-03-25 21:03:39 +01:00
MiniDigger | Martin
c78f56316e make class node tests have a display name 2025-03-25 20:34:59 +01:00
MiniDigger | Martin
39eafa2aa0 implement wolf sound variants 2025-03-25 20:18:13 +01:00
Shane Freeder
985ebcfe88
Quick handling for ChickenVariant data component, remove dupe 2025-03-25 18:27:03 +00:00