5628 Commits

Author SHA1 Message Date
DerFrZocker
1bf30a4e90
SPIGOT-7495: Spawning bee entity in asynchronous BlockPopulator causes IllegalStateException - Accessing LegacyRandomSource from multiple threads 2023-10-03 11:56:23 +02:00
Parker Hawke
476c5bccd3
#1267: Add more lightning API 2023-10-03 07:32:55 +11:00
Jishuna
40d5e6c023
#1190: Add Entity#getTrackedBy 2023-10-03 07:26:56 +11:00
md_5
40d41acc1a
SPIGOT-7491: Downgrade bundled SQLite to be updated next release 2023-10-03 07:17:33 +11:00
DerFrZocker
44b31da38f
#1264: Load Bukkit class before creating Registry item
This fixes a registry load order issue, which could cause that two different instances of the same registry item could exist, when the Bukkit class was not loaded before an item was queried.
2023-10-03 07:15:37 +11:00
md_5
dc45a6738f
SPIGOT-7496: Failure to load datapacks with multiple identical predicates 2023-10-02 20:01:30 +11:00
md_5
f508657d64
Fix decompile error affecting javac 2023-10-02 19:43:59 +11:00
Doc
ef7a4743d8
#1265: Ensure UTF-8 used in new test resource 2023-10-01 15:27:41 +11:00
md_5
99aafc222b
Increase outdated build delay 2023-09-29 07:26:34 +10:00
Lauriichan
dab849f084
SPIGOT-7283, SPIGOT-7318: Add AsyncStructureGenerateEvent and BlockState cloning 2023-09-29 06:54:35 +10:00
md_5
041b29ae30
Upgrade specialsource-maven-plugin 2023-09-28 22:45:33 +10:00
Parker Hawke
851a32cffc
#1263: Remove unused implementation of AbstractProjectile#doesBounce() and #setBounce() 2023-09-28 06:46:54 +10:00
Doc
251af0da31
#1261: Expand DataPack API with 1.20.2 pack version methods 2023-09-27 07:10:02 +10:00
md_5
46e4ba627c
Upgrade specialsource-maven-plugin 2023-09-26 06:40:35 +10:00
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
md_5
e62905aabe
SPIGOT-7490: Fix entity equipment updates 2023-09-25 07:47:22 +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
DerFrZocker
452fcb5997
#1256: Update tests to JUnit 5 2023-09-23 18:10:23 +10:00
md_5
f71a799f03
Make BARRIER Waterlogged 2023-09-23 10:00:26 +10:00
md_5
172f76a45c
Upgrade specialsource-maven-plugin 2023-09-23 09:49:17 +10:00
md_5
f0702775c3
SPIGOT-7486: Alternate approach to null profile names 2023-09-22 07:36:30 +10:00
md_5
069495671e
SPIGOT-7485: Allow air entity items since required for Vanilla logic 2023-09-22 07:14:27 +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
6d4b25bf19
Increase diff stability 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
ddc9a2dad3
SPIGOT-7475: Don't fire SculkBloomEvent during world generation 2023-09-06 19:09:38 +02: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
4f7ff4dece
#1246: Add missing AbstractTestingBase to tests which need them 2023-08-25 19:33:11 +10:00
md_5
f70a7b68de
SPIGOT-7465, MC-264979: Fresh installations print NoSuchFileException for server.properties 2023-08-22 20:51:34 +10:00
Brokkonaut
8ef7afef65
#1240: Call BlockGrowEvent for vines that are growing on additional sides of an existing vine block 2023-08-19 09:43:27 +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
d91e5aa0b6
SPIGOT-7447: Rewrite --forceUpgrade to minimise diff and properly handle CraftBukkit world layout 2023-08-07 20:16:07 +10:00
md_5
921ae06d60
Revert "SPIGOT-7447: Fix --forceUpgrade"
This reverts commit 70e0bc050a2ef1bb5b0d8ac97be24484f3891ceb.
2023-08-07 07:53:30 +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
md_5
70e0bc050a
SPIGOT-7447: Fix --forceUpgrade 2023-08-05 10:01:59 +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