Commit graph

4318 commits

Author SHA1 Message Date
CraftBukkit/Spigot
de613752e0 Add eclipse .factorypath file to .gitignore
By: DerFrZocker <derrieple@gmail.com>
2023-11-09 10:20:31 +01:00
CraftBukkit/Spigot
45bad8032d Fix SkullMeta configuration serialization / deserialization with note block sound
By: DerFrZocker <derrieple@gmail.com>
2023-11-09 07:28:25 +01:00
CraftBukkit/Spigot
babc4636fa #1291: Improve precondition message in Entity#playEffect
By: Jishuna <joshl5324@gmail.com>
2023-11-09 06:48:57 +11:00
CraftBukkit/Spigot
b11f0ec204 #1285: Add PlayerRecipeBookSettingsChangeEvent
By: Jishuna <joshl5324@gmail.com>
2023-11-09 06:43:34 +11:00
CraftBukkit/Spigot
f64dc66a5f #1290: Add methods to get/set evoker fang attack delay
By: Jishuna <joshl5324@gmail.com>
2023-11-09 06:36:06 +11:00
CraftBukkit/Spigot
80d3f8408a SPIGOT-7514, #1289: Add "Enchantment Roll" API to enchant items according to Minecraft mechanics
By: Miles Holder <mwholder2005@gmail.com>
2023-11-09 06:30:23 +11:00
CraftBukkit/Spigot
33f761a92c #992: Add API to get full result of crafting items
By: md_5 <git@md-5.net>
2023-11-06 20:37:34 +11:00
CraftBukkit/Spigot
e002bc102b #1287: Fix scoreboards not updating in Player#setStatistic
By: Collin <collinjbarber@gmail.com>
2023-10-31 21:48:21 +11:00
CraftBukkit/Spigot
044d4ce4d3 SPIGOT-7510: Try to fix broken reflection usage of plugins
By: DerFrZocker <derrieple@gmail.com>
2023-10-26 07:37:34 +02:00
CraftBukkit/Spigot
511d6753cc #1281: Add hit entity/block to events extending ProjectileHitEvent
By: Jishuna <joshl5324@gmail.com>
2023-10-25 18:54:07 +11:00
CraftBukkit/Spigot
fa30894970 Fix NPE introduced in #17c30fd
By: Jishuna <joshl5324@gmail.com>
2023-10-22 20:36:35 -04:00
CraftBukkit/Spigot
0a971d438b SPIGOT-7507: Fall back to world UUIDs if Dimension tag missing or invalid
By: md_5 <git@md-5.net>
2023-10-21 16:25:23 +11:00
CraftBukkit/Spigot
e84271b31b #1279: Back Particle by a minecraft registry
By: DerFrZocker <derrieple@gmail.com>
2023-10-21 13:42:09 +11:00
CraftBukkit/Spigot
17c30fd4e2 Simplify texture updating in CraftMetaSkull
By: md_5 <git@md-5.net>
2023-10-21 13:39:52 +11:00
CraftBukkit/Spigot
b7693bfff8 Increase outdated build delay
By: md_5 <git@md-5.net>
2023-10-20 18:50:05 +11:00
CraftBukkit/Spigot
e12eaccce2 SPIGOT-7506: SculkBloomEvent.getBlock() world is null
By: md_5 <git@md-5.net>
2023-10-20 18:49:03 +11:00
CraftBukkit/Spigot
9713b3f255 #1278: Return correct default light in chunk snapshot
By: DerFrZocker <derrieple@gmail.com>
2023-10-15 20:20:30 +11:00
CraftBukkit/Spigot
4dc97ffa9d SPIGOT-7503: Remove special handling for minecraft:brand custom channel
By: md_5 <git@md-5.net>
2023-10-14 16:56:17 +11:00
CraftBukkit/Spigot
34a4561f70 #1277: Add keepSpawnInMemory setting to WorldCreator
By: Jishuna <joshl5324@gmail.com>
2023-10-13 08:11:14 +11:00
CraftBukkit/Spigot
691d43eb42 SPIGOT-5753: Back PotionType by a minecraft registry
By: DerFrZocker <derrieple@gmail.com>
2023-10-09 20:22:53 +11:00
CraftBukkit/Spigot
a2e3f213cf SPIGOT-7080: Add World#locateNearestBiome
By: Jishuna <joshl5324@gmail.com>
2023-10-09 20:11:46 +11:00
CraftBukkit/Spigot
7c225da381 SPIGOT-7502: CraftMetaItem - cannot deserialize BlockStateTag
By: md_5 <git@md-5.net>
2023-10-09 07:16:14 +11:00
CraftBukkit/Spigot
0c90514858 SPIGOT-6400: Use Mockito instead of InvocationHandler
By: DerFrZocker <derrieple@gmail.com>
2023-10-07 15:42:18 +11:00
CraftBukkit/Spigot
c4c6bf8a92 #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.

By: DerFrZocker <derrieple@gmail.com>
2023-10-06 07:16:11 +11:00
CraftBukkit/Spigot
39de862c02 SPIGOT-7498: ChunkSnapshot.getBlockEmittedLight() gets 64 blocks upper in Overworld
By: DerFrZocker <derrieple@gmail.com>
2023-10-05 13:12:41 +02:00
CraftBukkit/Spigot
7380cef545 SPIGOT-7495: Spawning bee entity in asynchronous BlockPopulator causes IllegalStateException - Accessing LegacyRandomSource from multiple threads
By: DerFrZocker <derrieple@gmail.com>
2023-10-03 11:56:23 +02:00
CraftBukkit/Spigot
851acb6496 #1267: Add more lightning API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-10-03 07:32:55 +11:00
CraftBukkit/Spigot
4556ae0f4b #1190: Add Entity#getTrackedBy
By: Jishuna <joshl5324@gmail.com>
2023-10-03 07:26:56 +11:00
CraftBukkit/Spigot
7002363f0f SPIGOT-7491: Downgrade bundled SQLite to be updated next release
By: md_5 <git@md-5.net>
2023-10-03 07:17:33 +11:00
CraftBukkit/Spigot
b3ac8604eb #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.

By: DerFrZocker <derrieple@gmail.com>
2023-10-03 07:15:37 +11:00
CraftBukkit/Spigot
0c3b8eb4b9 SPIGOT-7496: Failure to load datapacks with multiple identical predicates
By: md_5 <git@md-5.net>
2023-10-02 20:01:30 +11:00
CraftBukkit/Spigot
88114a4558 Fix decompile error affecting javac
By: md_5 <git@md-5.net>
2023-10-02 19:43:59 +11:00
CraftBukkit/Spigot
6e2503b658 #1265: Ensure UTF-8 used in new test resource
By: Doc <nachito94@msn.com>
2023-10-01 15:27:41 +11:00
CraftBukkit/Spigot
570a4195c0 Increase outdated build delay
By: md_5 <git@md-5.net>
2023-09-29 07:26:34 +10:00
CraftBukkit/Spigot
c651c0a51b SPIGOT-7283, SPIGOT-7318: Add AsyncStructureGenerateEvent and BlockState cloning
By: Lauriichan <laura.endress@playuniverse.org>
2023-09-29 06:54:35 +10:00
CraftBukkit/Spigot
bbc6a0e459 Upgrade specialsource-maven-plugin
By: md_5 <git@md-5.net>
2023-09-28 22:45:33 +10:00
CraftBukkit/Spigot
215777a5f2 #1263: Remove unused implementation of AbstractProjectile#doesBounce() and #setBounce()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-09-28 06:46:54 +10:00
CraftBukkit/Spigot
1d153bf51a #1261: Expand DataPack API with 1.20.2 pack version methods
By: Doc <nachito94@msn.com>
2023-09-27 07:10:02 +10:00
CraftBukkit/Spigot
3b107a0717 Upgrade specialsource-maven-plugin
By: md_5 <git@md-5.net>
2023-09-26 06:40:35 +10:00
CraftBukkit/Spigot
053943414f SPIGOT-7489: Add TeleportDuration to Display Entity
By: Doc <nachito94@msn.com>
2023-09-25 19:20:39 +10:00
CraftBukkit/Spigot
aa4eedd178 #1262: Update Minecraft Wiki URLs
By: Doc <nachito94@msn.com>
2023-09-25 18:53:44 +10:00
CraftBukkit/Spigot
70eb4fdda5 SPIGOT-7490: Fix entity equipment updates
By: md_5 <git@md-5.net>
2023-09-25 07:47:22 +10:00
CraftBukkit/Spigot
5692b3f59a #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.

By: Bjarne Koll <lynxplay101@gmail.com>
2023-09-24 10:12:19 +10:00
CraftBukkit/Spigot
07002cbfcd #1256: Update tests to JUnit 5
By: DerFrZocker <derrieple@gmail.com>
2023-09-23 18:10:23 +10:00
CraftBukkit/Spigot
da860132b5 Make BARRIER Waterlogged
By: md_5 <git@md-5.net>
2023-09-23 10:00:26 +10:00
CraftBukkit/Spigot
f983a0d0d2 Upgrade specialsource-maven-plugin
By: md_5 <git@md-5.net>
2023-09-23 09:49:17 +10:00
CraftBukkit/Spigot
3ff2a7bc12 SPIGOT-7486: Alternate approach to null profile names
By: md_5 <git@md-5.net>
2023-09-22 07:36:30 +10:00
CraftBukkit/Spigot
fb7dc796d5 SPIGOT-7485: Allow air entity items since required for Vanilla logic
By: md_5 <git@md-5.net>
2023-09-22 07:14:27 +10:00
CraftBukkit/Spigot
189292a2f0 SPIGOT-7484: Cancelling PlayerEditBookEvent does not update client's book contents
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-09-22 03:08:21 +10:00
CraftBukkit/Spigot
4248b8a4d8 #1250: Standardize and centralize Bukkit / Minecraft registry conversion
By: DerFrZocker <derrieple@gmail.com>
2023-09-22 03:02:16 +10:00