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
CraftBukkit/Spigot
0b9699cc2e
#1251 : Use Java Consumer instead of Bukkit Consumer
...
By: DerFrZocker <derrieple@gmail.com>
2023-09-22 02:57:13 +10:00
CraftBukkit/Spigot
e903417936
Increase diff stability
...
By: md_5 <git@md-5.net>
2023-09-22 02:57:13 +10:00
CraftBukkit/Spigot
8a3c8cfcd4
Update to Minecraft 1.20.2
...
By: md_5 <git@md-5.net>
2023-09-22 02:40:00 +10:00
CraftBukkit/Spigot
193398c0ff
Remove outdated build delay
...
By: md_5 <git@md-5.net>
2023-09-22 02:34:46 +10:00
CraftBukkit/Spigot
43bd62c7f5
Add support for Java 21
...
By: md_5 <git@md-5.net>
2023-09-10 08:38:53 +10:00
CraftBukkit/Spigot
dc3bd245f7
SPIGOT-7475: Don't fire SculkBloomEvent during world generation
...
By: DerFrZocker <derrieple@gmail.com>
2023-09-06 19:09:38 +02:00
CraftBukkit/Spigot
2402d5edb4
#1245 : Add a stream method to Registry to make it easier to use and to avoid unnecessary wrapping
...
By: DerFrZocker <derrieple@gmail.com>
2023-09-06 20:56:26 +10:00
CraftBukkit/Spigot
4e2ef19474
#1242 : Add more Sculk API (bloom, shriek, bloom event)
...
By: Collin <collinjbarber@gmail.com>
2023-09-06 20:44:19 +10:00
CraftBukkit/Spigot
832e3ca9bf
#1252 : Fix error when generating a tree in water
...
By: DerFrZocker <derrieple@gmail.com>
2023-09-02 12:55:26 +10:00
CraftBukkit/Spigot
c8a9b8d25c
#1248 : Load GameEvent and MusicInstrument from registry
...
By: DerFrZocker <derrieple@gmail.com>
2023-09-02 12:55:23 +10:00
CraftBukkit/Spigot
a16df1b04c
SPIGOT-7467: Add getAddress to RemoteConsoleCommandSender
...
By: md_5 <git@md-5.net>
2023-08-26 18:19:22 +10:00
CraftBukkit/Spigot
6fdc83ddd9
#1246 : Add missing AbstractTestingBase to tests which need them
...
By: DerFrZocker <derrieple@gmail.com>
2023-08-25 19:33:11 +10:00
CraftBukkit/Spigot
764b9df72a
SPIGOT-7465, MC-264979: Fresh installations print NoSuchFileException for server.properties
...
By: md_5 <git@md-5.net>
2023-08-22 20:51:34 +10:00
CraftBukkit/Spigot
41756b5eb0
#1240 : Call BlockGrowEvent for vines that are growing on additional sides of an existing vine block
...
By: Brokkonaut <hannos17@gmx.de>
2023-08-19 09:43:27 +10:00
CraftBukkit/Spigot
5d0b3018de
#1235 : Move EntityType return to base Entity class
...
By: DerFrZocker <derrieple@gmail.com>
2023-08-13 07:52:40 +10:00
CraftBukkit/Spigot
cc7d27cb4a
SPIGOT-7458: Exception when Entity CommandSender executes Vanilla command
...
By: md_5 <git@md-5.net>
2023-08-12 16:22:19 +10:00
CraftBukkit/Spigot
ce7d1f4f83
SPIGOT-7452: Player#openSign cannot edit
...
By: Miles Holder <mwholder2005@gmail.com>
2023-08-10 19:02:56 +10:00
CraftBukkit/Spigot
0379c2cfee
SPIGOT-7447: Rewrite --forceUpgrade to minimise diff and properly handle CraftBukkit world layout
...
By: md_5 <git@md-5.net>
2023-08-07 20:16:07 +10:00
CraftBukkit/Spigot
8847a42387
Revert "SPIGOT-7447: Fix --forceUpgrade"
...
This reverts commit 136f843d31
.
By: md_5 <git@md-5.net>
2023-08-07 07:53:30 +10:00
CraftBukkit/Spigot
5fa009e777
SPIGOT-7446: BlockState#update not updating a spawner's type to null
...
By: md_5 <git@md-5.net>
2023-08-05 10:12:20 +10:00
CraftBukkit/Spigot
136f843d31
SPIGOT-7447: Fix --forceUpgrade
...
By: md_5 <git@md-5.net>
2023-08-05 10:01:59 +10:00
CraftBukkit/Spigot
6d8757cb05
SPIGOT-7396: Add PlayerSignOpenEvent
...
By: Miles Holder <mwholder2005@gmail.com>
2023-08-05 09:33:42 +10:00
CraftBukkit/Spigot
2a8121eac7
SPIGOT-7063, #1071 : Add DragonBattle#initiateRespawn with custom EnderCrystals
...
By: Doc <nachito94@msn.com>
2023-08-05 09:24:52 +10:00
CraftBukkit/Spigot
fa4400a9a0
#1212 : Add PlayerRecipeBookClickEvent
...
By: Jishuna <joshl5324@gmail.com>
2023-08-02 07:46:19 +10:00
CraftBukkit/Spigot
1c310f1cde
SPIGOT-7445: Fix opening smithing inventory
...
By: md_5 <git@md-5.net>
2023-07-31 07:04:27 +10:00
CraftBukkit/Spigot
3666c4aa7e
SPIGOT-7441: Fix issue placing certain items in creative/op
...
By: md_5 <git@md-5.net>
2023-07-29 10:06:05 +10:00
CraftBukkit/Spigot
86a10c9c2c
SPIGOT-7435: Add TeleportCause#EXIT_BED
...
By: md_5 <git@md-5.net>
2023-07-29 09:58:01 +10:00
CraftBukkit/Spigot
223ea107d2
SPIGOT-7349: Player#setDisplayName not working when message/format unmodified
...
By: md_5 <git@md-5.net>
2023-07-28 18:56:00 +10:00
CraftBukkit/Spigot
1b9d617ddc
#1232 : Re-add fix for player rotation
...
By: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
2023-07-25 18:52:51 +10:00
CraftBukkit/Spigot
e00c85fd8c
#1233 : Remove some old MC bug fixes now fixed in vanilla
...
By: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
2023-07-24 18:09:23 +10:00
CraftBukkit/Spigot
06818793c7
Fix ChunkGenerator#generateCaves never being called
...
By: DerFrZocker <derrieple@gmail.com>
2023-07-20 09:45:09 +02:00
CraftBukkit/Spigot
4d235919d6
SPIGOT-7422, #1228 : Add API to set sherds on decorated pots
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-07-19 07:41:31 +10:00
CraftBukkit/Spigot
25413e80a1
#1224 : Add ItemFactory#getSpawnEgg
...
By: Jishuna <joshl5324@gmail.com>
2023-07-18 21:28:02 +10:00
CraftBukkit/Spigot
370e31367c
SPIGOT-7429: Fix LEFT_CLICK_AIR not working for passable entities and spectators
...
By: Collin <collinjbarber@gmail.com>
2023-07-18 21:23:52 +10:00
CraftBukkit/Spigot
c0e2080221
#1223 : Remove non-existent scoreboard display name/prefix/suffix limits
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-07-16 15:21:56 +10:00
CraftBukkit/Spigot
c00ddac0c8
#1225 : Add modern time API methods to ban API
...
By: Yannick Lamprecht <yannicklamprecht@live.de>
2023-07-15 10:43:30 +10:00
CraftBukkit/Spigot
4f0075b49c
Upgrade some Maven plugins to reduce warnings
...
By: md_5 <git@md-5.net>
2023-07-15 10:41:22 +10:00
CraftBukkit/Spigot
7af70edf3a
Increase outdated build delay
...
By: md_5 <git@md-5.net>
2023-07-09 19:04:48 +10:00
CraftBukkit/Spigot
475d2e005c
SPIGOT-7398: TextDisplay#setInterpolationDuration incorrectly updates the line width
...
By: md_5 <git@md-5.net>
2023-07-08 13:07:16 +10:00
CraftBukkit/Spigot
8bd41d17a2
#1189 : Add LivingEntity#playHurtAnimation()
...
By: Collin <collinjbarber@gmail.com>
2023-07-04 06:55:14 +10:00
CraftBukkit/Spigot
8b30feb641
#1226 : Fix VehicleEnterEvent not being called for certain entities
...
By: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
2023-07-04 06:54:09 +10:00
CraftBukkit/Spigot
3c49f90bdc
#1227 : Refinements to new ban API for improved compatibility and correctness
...
By: Doc <nachito94@msn.com>
2023-07-04 06:50:47 +10:00
CraftBukkit/Spigot
7f5ff95fe4
Revert bad change to PathfinderGoalSit causing all cats to sit
...
By: md_5 <git@md-5.net>
2023-07-01 20:56:18 +10:00
CraftBukkit/Spigot
546827e94d
SPIGOT-6455, SPIGOT-7030, #1054 : Improve ban API
...
By: Doc <nachito94@msn.com>
2023-07-01 13:56:03 +10:00
CraftBukkit/Spigot
5c8c4bbe5b
All smithing inventories are now the new smithing inventory
...
By: md_5 <git@md-5.net>
2023-07-01 09:35:39 +10:00
CraftBukkit/Spigot
acf9c704ac
SPIGOT-7416: SmithItemEvent not firing in Smithing Table
...
By: md_5 <git@md-5.net>
2023-07-01 09:25:36 +10:00
CraftBukkit/Spigot
60c46c4b52
#1221 : Add methods to get/set FallingBlock CancelDrop
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-06-27 07:36:06 +10:00
CraftBukkit/Spigot
ffdc63259a
#1220 : Add Player#sendHealthUpdate()
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-06-27 07:36:06 +10:00
CraftBukkit/Spigot
b97cc9b99f
#1209 : Clean up various patches
...
By: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
2023-06-24 17:15:05 +10:00
CraftBukkit/Spigot
0f9e7a497e
Fix Raider#setCelebrating() implementation
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-06-23 17:27:06 -04:00
CraftBukkit/Spigot
e7ebe80de9
SPIGOT-7403: Add direct API for waxed signs
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-06-23 09:58:59 +10:00
CraftBukkit/Spigot
f0c9bae0f7
#1216 : Add missing Raider API and 'no action ticks'
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-06-23 09:58:59 +10:00
CraftBukkit/Spigot
3edbef0526
Increase outdated build delay
...
By: md_5 <git@md-5.net>
2023-06-20 16:17:31 +10:00
CraftBukkit/Spigot
3bd9e0e1e9
SPIGOT-7400: Downgrade maven-resolver due to issues resolving certain depends
...
By: md_5 <git@md-5.net>
2023-06-18 20:37:23 +10:00
CraftBukkit/Spigot
f88d039091
SPIGOT-7399: Revert null check in CraftMetaItem#safelyAdd
...
By: DerFrZocker <derrieple@gmail.com>
2023-06-17 11:41:38 +02:00
CraftBukkit/Spigot
20acc420d8
SPIGOT-7380: Add PlayerInteractEvent#getClickedPosition and ChiseledBookshelf#getSlot
...
By: Jishuna <joshl5324@gmail.com>
2023-06-17 14:31:40 +10:00
CraftBukkit/Spigot
b0576f313f
SPIGOT-7389: Handle setting null items in ChiseledBookshelf Inventory
...
By: Doc <nachito94@msn.com>
2023-06-17 06:44:22 +10:00
CraftBukkit/Spigot
46dda8a1e6
Fix Player#setScoreboard() checking incorrect state
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-06-15 21:36:05 -04:00
CraftBukkit/Spigot
5480af2bba
SPIGOT-7393: Fix new tile entities not loading Bukkit's PersistentDataContainer
...
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-06-15 20:25:35 +10:00
CraftBukkit/Spigot
ece42b939b
SPIGOT-7394: Fix another issue with sendSignChange
...
By: md_5 <git@md-5.net>
2023-06-15 06:45:03 +10:00
CraftBukkit/Spigot
289dcffffa
SPIGOT-7391: Preserve vanilla sign json where not modified by event
...
By: md_5 <git@md-5.net>
2023-06-14 18:36:22 +10:00
CraftBukkit/Spigot
b68e6ca9c8
#1204 : Add Enderman#teleport and Enderman#teleportTowards
...
By: Collin <collinjbarber@gmail.com>
2023-06-14 18:36:22 +10:00
CraftBukkit/Spigot
5fe70f50c1
Fix sendSignChange not working
...
By: md_5 <git@md-5.net>
2023-06-14 18:36:22 +10:00
CraftBukkit/Spigot
2c9bf00c5b
#1201 : Add Player#sendBlockUpdate to send tile entity updates
...
By: Yannick Lamprecht <yannicklamprecht@live.de>
2023-06-14 18:36:21 +10:00
CraftBukkit/Spigot
ec1bb878f3
Work around issue placing decorated pots
...
By: md_5 <git@md-5.net>
2023-06-13 19:05:00 +10:00
CraftBukkit/Spigot
f40eac90a3
Update to Minecraft 1.20.1
...
By: md_5 <git@md-5.net>
2023-06-13 07:00:00 +10:00
CraftBukkit/Spigot
746a0db582
Fix unintended change to playSound contract and various other issues
...
By: md_5 <git@md-5.net>
2023-06-12 21:29:41 +10:00
CraftBukkit/Spigot
a678c41574
Fix unintended change to createBlockData contract
...
By: md_5 <git@md-5.net>
2023-06-12 21:09:17 +10:00
CraftBukkit/Spigot
b6271a3554
Fix another mistake in previous commits causing server crash
...
By: md_5 <git@md-5.net>
2023-06-12 21:02:46 +10:00
CraftBukkit/Spigot
b00fd47b85
Check in getOfflinePlayer is OK
...
By: md_5 <git@md-5.net>
2023-06-12 20:42:20 +10:00
CraftBukkit/Spigot
cfdd51c0cd
Remove changes to string API contracts introduced by prior commits
...
By: md_5 <git@md-5.net>
2023-06-12 20:39:58 +10:00
CraftBukkit/Spigot
dacee77a67
Fix another issue from previous commit
...
By: md_5 <git@md-5.net>
2023-06-12 20:35:38 +10:00
CraftBukkit/Spigot
cad3899462
Fix issue from previous commit in SimpleHelpMap
...
By: md_5 <git@md-5.net>
2023-06-12 20:30:16 +10:00