4205 Commits

Author SHA1 Message Date
Doc
ec1fa2ead3
#1309: Add tests for Bukkit Pose 2023-12-07 08:21:33 +11:00
md_5
0fd734950f
SPIGOT-7528: Fix certain custom shaped recipes 2023-12-06 20:23:28 +11:00
DerFrZocker
8232a74cf8
SPIGOT-6026: Pull PotionEffectType and Enchantment from registry 2023-12-06 03:40:00 +11:00
md_5
07e5dd5d59
Update to Minecraft 1.20.3 2023-12-06 03:40:00 +11:00
md_5
d485cdeaf8
Remove outdated build delay 2023-12-06 03:38:35 +11:00
DerFrZocker
e54f39adca
SPIGOT-7487: entity.remove() on a leash drops a lead item 2023-12-01 08:01:44 +11:00
DerFrZocker
7580463199
#1305: Don't allow Player removal via Entity#remove 2023-11-27 19:10:53 +11:00
Jishuna
0478e0417b
#1266: Add support for virtual entities 2023-11-19 19:03:35 +13:00
Jishuna
8e162d0083
#1301: Various Sound API improvements 2023-11-17 19:54:48 +13:00
DerFrZocker
d433f086d5
#1297: Change Consumer and Predicates to super 2023-11-14 19:50:14 +13:00
DerFrZocker
7c6bf15d44
Fix SkullMeta configuration serialization / deserialization with note block sound 2023-11-09 07:30:14 +01:00
Jishuna
c8feb06296
#1291: Improve precondition message in Entity#playEffect 2023-11-09 06:48:57 +11:00
Jishuna
482c56a009
#1285: Add PlayerRecipeBookSettingsChangeEvent 2023-11-09 06:43:34 +11:00
Jishuna
cdf7988007
#1290: Add methods to get/set evoker fang attack delay 2023-11-09 06:36:06 +11:00
Miles Holder
2c1b5f78fc
SPIGOT-7514, #1289: Add "Enchantment Roll" API to enchant items according to Minecraft mechanics 2023-11-09 06:30:23 +11:00
md_5
6aa644ae98
#992: Add API to get full result of crafting items 2023-11-06 20:37:34 +11:00
Collin
ffb1319bcc
#1287: Fix scoreboards not updating in Player#setStatistic 2023-10-31 21:48:21 +11:00
DerFrZocker
5a72c3c040
SPIGOT-7510: Try to fix broken reflection usage of plugins 2023-10-26 07:46:30 +02:00
Jishuna
6fa69f2357
#1281: Add hit entity/block to events extending ProjectileHitEvent 2023-10-25 18:54:07 +11:00
Jishuna
224f733ac1
Fix NPE introduced in #f4d977e 2023-10-22 20:36:35 -04:00
DerFrZocker
67a52a6485
#1279: Back Particle by a minecraft registry 2023-10-21 13:42:09 +11:00
md_5
f4d977e794
Simplify texture updating in CraftMetaSkull 2023-10-21 13:39:52 +11:00
md_5
e42510b064
Increase outdated build delay 2023-10-20 18:50:05 +11:00
DerFrZocker
b59004114e
#1278: Return correct default light in chunk snapshot 2023-10-15 20:20:30 +11:00
Jishuna
2fa7644d08
#1277: Add keepSpawnInMemory setting to WorldCreator 2023-10-13 08:11:14 +11:00
DerFrZocker
71b0135cc7
SPIGOT-5753: Back PotionType by a minecraft registry 2023-10-09 20:22:53 +11:00
Jishuna
a6bcb84890
SPIGOT-7080: Add World#locateNearestBiome 2023-10-09 20:11:46 +11:00
md_5
ad0e574345
SPIGOT-7502: CraftMetaItem - cannot deserialize BlockStateTag 2023-10-09 07:16:14 +11:00
DerFrZocker
b3efca57ac
SPIGOT-6400: Use Mockito instead of InvocationHandler 2023-10-07 15:42:18 +11:00
DerFrZocker
38c599f9de
#1272: Only allow one entity in CraftItem instead of two
This pr reverts a change made in 2012 which allowed CraftItem to be a also other entities such as an arrow.
I don't see any practical reason why the original change was done, other than to allow plugin developers to do some stuff in a cursed way.
With the introduction of the PlayerPickupArrowEvent in 2016 there is also a way to access the arrow involved in a better way.
Generally I think the current behavior is a bit strange and should be reverted.
2023-10-06 07:16:11 +11:00
DerFrZocker
f065271ac7
SPIGOT-7498: ChunkSnapshot.getBlockEmittedLight() gets 64 blocks upper in Overworld 2023-10-05 16:45:14 +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
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
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
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
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
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
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