Commit graph

342 commits

Author SHA1 Message Date
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
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
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
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
70eb4fdda5 SPIGOT-7490: Fix entity equipment updates
By: md_5 <git@md-5.net>
2023-09-25 07:47:22 +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
4248b8a4d8 #1250: Standardize and centralize Bukkit / Minecraft registry conversion
By: DerFrZocker <derrieple@gmail.com>
2023-09-22 03:02:16 +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
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
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
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
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
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
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
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
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
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
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
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
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
b97cc9b99f #1209: Clean up various patches
By: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
2023-06-24 17:15:05 +10: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
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
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
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
211ccb13d3 SPIGOT-7350: Add methods to get hints from EnchantItemEvent
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-06-12 10:03:07 +10:00
CraftBukkit/Spigot
4c192dd4e7 SPIGOT-7381: Fix NullPointerException when setting item in ChiseledBookshelfInventory snapshot
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-06-12 08:04:28 +10:00
CraftBukkit/Spigot
f800a3801e SPIGOT-7384: player.getLocation() equals PlayerMoveEvent.getTo()
By: md_5 <git@md-5.net>
2023-06-11 20:41:52 +10:00
CraftBukkit/Spigot
a7ce4d1a3f SPIGOT-7382: Player still on fire after respawn
By: md_5 <git@md-5.net>
2023-06-11 17:30:03 +10:00
CraftBukkit/Spigot
0c94630926 #1184: Add setMotd and setMaxPlayers
By: Hannah <salvadin2@gmail.com>
2023-06-11 10:51:11 +10:00
CraftBukkit/Spigot
5301642c90 Implement SpawnerSpawnEvent
By: md_5 <git@md-5.net>
Also-by: Andy Shulman <andy.shulman@hotmail.com>
2023-06-10 07:22:51 +10:00
CraftBukkit/Spigot
82dccdf1a6 SPIGOT-7378: Add BlockDropItemEvent for Suspicious Sand & Gravel drops
By: md_5 <git@md-5.net>
2023-06-09 08:37:09 +10:00
CraftBukkit/Spigot
b68048c094 SPIGOT-7377: Server sends player list twice
By: md_5 <git@md-5.net>
2023-06-09 08:24:31 +10:00