4115 Commits

Author SHA1 Message Date
Doc
df3738a241
SPIGOT-7489: Add TeleportDuration to Display Entity 2023-09-25 19:20:39 +10:00
Doc
8d0fea4576
#1262: Update Minecraft Wiki URLs 2023-09-25 18:53:44 +10:00
Bjarne Koll
f0661c3514
#1230: Move unstructured PDC NBT serialisation to SNBT
The initial implementation of the CraftNBTTagConfigSerialiser attempted
to represent the entire NBT tree in yaml. While the tree structure
itself is nicely represented, the values and their respective types
become increasingly difficult to properly store in the context of
snakeyml/yml in general.

This is mainly due to the fact that nbt offers a lot of different types
compared to yaml, specifically the primitive arrays and different
floating point values are troublesome as they require parsing via mojang
parsers due to their custom format.

To build a future proof system for unstructured nbt in spigot yml,
this commit moves the entire serialisation fully into SNBT,
producing a single string as output rather than a full yml tree.
SNBT remains easily readable and editable for server owners, which was
one of the main criteria during the initial implementation of the
serialiser (preventing the use of bas64ed gzipped nbt bytes), while also
completely using mojangs parsing, eliminating any need for custom
parsing logic in spigot.

Additionally, a string allows for very straight forward handling of
legacy data by simply parsing strings as SNBT and maps/yml trees as
legacy content, depending on what type snakeyml produces after parsing
the yml content, removing the need for a versioning schema.
2023-09-24 10:12:19 +10:00
md_5
f71a799f03
Make BARRIER Waterlogged 2023-09-23 10:00:26 +10:00
md_5
f0702775c3
SPIGOT-7486: Alternate approach to null profile names 2023-09-22 07:36:30 +10:00
Parker Hawke
5dfd33dc27
SPIGOT-7484: Cancelling PlayerEditBookEvent does not update client's book contents 2023-09-22 03:08:21 +10:00
DerFrZocker
02d4907887
#1250: Standardize and centralize Bukkit / Minecraft registry conversion 2023-09-22 03:02:16 +10:00
DerFrZocker
9024a09b92
#1251: Use Java Consumer instead of Bukkit Consumer 2023-09-22 02:57:13 +10:00
md_5
28c1023286
Update to Minecraft 1.20.2 2023-09-22 02:40:00 +10:00
md_5
3f9263ba3a
Remove outdated build delay 2023-09-22 02:34:46 +10:00
md_5
78796c9de6
Add support for Java 21 2023-09-10 08:38:53 +10:00
DerFrZocker
caee2311a4
#1245: Add a stream method to Registry to make it easier to use and to avoid unnecessary wrapping 2023-09-06 20:56:26 +10:00
Collin
de421cf56b
#1242: Add more Sculk API (bloom, shriek, bloom event) 2023-09-06 20:44:19 +10:00
DerFrZocker
00f5a80fbe
#1252: Fix error when generating a tree in water 2023-09-02 12:55:26 +10:00
DerFrZocker
10219df3a6
#1248: Load GameEvent and MusicInstrument from registry 2023-09-02 12:55:23 +10:00
md_5
db4ba28978
SPIGOT-7467: Add getAddress to RemoteConsoleCommandSender 2023-08-26 18:19:22 +10:00
DerFrZocker
b76ceb4f5d
#1235: Move EntityType return to base Entity class 2023-08-13 07:52:40 +10:00
md_5
e795d74903
SPIGOT-7458: Exception when Entity CommandSender executes Vanilla command 2023-08-12 16:22:19 +10:00
Miles Holder
46c7fc3b1b
SPIGOT-7452: Player#openSign cannot edit 2023-08-10 19:02:56 +10:00
md_5
d548daac2f
SPIGOT-7446: BlockState#update not updating a spawner's type to null 2023-08-05 10:12:20 +10:00
Miles Holder
6752f1d63e
SPIGOT-7396: Add PlayerSignOpenEvent 2023-08-05 09:33:42 +10:00
Doc
847b4cad50
SPIGOT-7063, #1071: Add DragonBattle#initiateRespawn with custom EnderCrystals 2023-08-05 09:24:52 +10:00
Jishuna
c335a555fb
#1212: Add PlayerRecipeBookClickEvent 2023-08-02 07:46:19 +10:00
md_5
4be756ecb4
SPIGOT-7445: Fix opening smithing inventory 2023-07-31 07:04:27 +10:00
DerFrZocker
08ec344ad1
Fix ChunkGenerator#generateCaves never being called 2023-07-20 09:45:09 +02:00
Parker Hawke
5daeb502ac
SPIGOT-7422, #1228: Add API to set sherds on decorated pots 2023-07-19 07:41:31 +10:00
Jishuna
52faa6b322
#1224: Add ItemFactory#getSpawnEgg 2023-07-18 21:28:02 +10:00
Parker Hawke
a94277a18b
#1223: Remove non-existent scoreboard display name/prefix/suffix limits 2023-07-16 15:21:56 +10:00
Yannick Lamprecht
36b1076604
#1225: Add modern time API methods to ban API 2023-07-15 10:43:30 +10:00
md_5
202fc5c4ea
Increase outdated build delay 2023-07-09 19:04:48 +10:00
md_5
ce545de57f
SPIGOT-7398: TextDisplay#setInterpolationDuration incorrectly updates the line width 2023-07-08 13:07:16 +10:00
Collin
b60a95c8cf
#1189: Add LivingEntity#playHurtAnimation() 2023-07-04 06:55:14 +10:00
Doc
0a0fc3beec
#1227: Refinements to new ban API for improved compatibility and correctness 2023-07-04 06:50:47 +10:00
Doc
648196070e
SPIGOT-6455, SPIGOT-7030, #1054: Improve ban API 2023-07-01 13:56:03 +10:00
md_5
31fe848d6e
All smithing inventories are now the new smithing inventory 2023-07-01 09:35:39 +10:00
Parker Hawke
9f64f0d22a
#1221: Add methods to get/set FallingBlock CancelDrop 2023-06-27 07:36:06 +10:00
Parker Hawke
3be9ac1716
#1220: Add Player#sendHealthUpdate() 2023-06-27 07:36:06 +10:00
Owen1212055
c1279f7751
#1209: Clean up various patches 2023-06-24 17:15:05 +10:00
Parker Hawke
c432e43970
Fix Raider#setCelebrating() implementation 2023-06-23 17:27:06 -04:00
Parker Hawke
504d966651
SPIGOT-7403: Add direct API for waxed signs 2023-06-23 09:58:59 +10:00
Parker Hawke
c68c1f1b35
#1216: Add missing Raider API and 'no action ticks' 2023-06-23 09:58:59 +10:00
md_5
85b89c3ddd
Increase outdated build delay 2023-06-20 16:17:31 +10:00
DerFrZocker
fcff84de91 SPIGOT-7399: Revert null check in CraftMetaItem#safelyAdd 2023-06-17 09:53:31 +00:00
Jishuna
44a4b5649d
SPIGOT-7380: Add PlayerInteractEvent#getClickedPosition and ChiseledBookshelf#getSlot 2023-06-17 14:31:40 +10:00
Doc
676969d016
SPIGOT-7389: Handle setting null items in ChiseledBookshelf Inventory 2023-06-17 06:44:22 +10:00
Parker Hawke
3b557627cd
Fix Player#setScoreboard() checking incorrect state 2023-06-15 21:36:05 -04:00
md_5
ad6d0cffbe
SPIGOT-7394: Fix another issue with sendSignChange 2023-06-15 06:45:03 +10:00
md_5
66c5ce4c7b
SPIGOT-7391: Preserve vanilla sign json where not modified by event 2023-06-14 18:36:22 +10:00
Collin
ae3824f949
#1204: Add Enderman#teleport and Enderman#teleportTowards 2023-06-14 18:36:22 +10:00
md_5
5863a2eaef
Fix sendSignChange not working 2023-06-14 18:36:22 +10:00