Bjarne Koll
85b8c1fda6
SPIGOT-6507: Implement abstract skeleton and stray conversion
...
The previous layout and class hierarchy of the skeleton API defined
variances of the skeleton, such as the wither skeleton or the stray, as
child types of the normal skeleton variance, which is technically
incorrect, yet did not produce any specific issue as the normal skeleton
variance did not have any unique logic.
With the introduction of powdered snow in the 1.17 update, the normal
skeleton variance now has unique logic, specifically the conversion to
a stay when stuck inside powdered snow, which cannot be represented in
the current API layout due to the prior mentioned hierarchy.
This commit implements the hierarchy changes made in the bukkit
repository by representing the new hierarchy on the craftbukkit side
through the CraftAbstractSkeleton and the respective additions to the
skeleton implementation in regards to the stray conversion.
This commit does not break ABI yet breaks backwards compatibility due to
the mentioned hierarchy changes. Plugins that previously used the
Skelton interface to compute whether or not an entity is skeleton-like
through instanceOf checks will now only match the normal skeleton variance
instead of any skeleton-like entity.
2021-06-14 10:01:19 +10:00
md_5
3fa79d3452
SPIGOT-6540: Firework rockets not crafting into flight duration 1
2021-06-13 17:59:01 +10:00
md_5
40caacc846
SPIGOT-6526: World entities are not populated when plugin onEnable is called
2021-06-13 15:05:32 +10:00
Parker Hawke
8bd43be507
SPIGOT-6535: PlayerGameModeChangeEvent event incorrectly reports old gamemode
2021-06-13 08:43:21 +10:00
md_5
384e116efc
Restore 1.16.5 behaviour of InventoryDragEvent being called even when a single item is 'dragged' to its own slot
...
Ideally this would now be an InventoryClickEvent instead, but that is not so easy with the current structure.
See https://www.spigotmc.org/threads/510208/page-9#post-4185501 for further info.
2021-06-12 20:20:16 +10:00
md_5
cfe7fecf3e
SPIGOT-6524: Inventory desync when InventoryClickEvent is cancelled
2021-06-12 19:44:31 +10:00
md_5
7490724d90
Fix missing PlayerEditBookEvent
2021-06-12 16:14:12 +10:00
md_5
06875f764b
SPIGOT-6513: Placing ItemStack in Inventory causes InventoryAction.NOTHING
2021-06-12 15:23:44 +10:00
md_5
27835bdee7
SPIGOT-6519: Fix end gateway teleports
2021-06-12 11:07:06 +10:00
DerFrZocker
4db9c49f97
SPIGOT-6510: Bukkit#createMap throws NullPointerException
2021-06-12 08:25:44 +10:00
md_5
cbf2f67802
SPIGOT-6508: Rename conflicted getServer
2021-06-11 21:40:36 +10:00
md_5
74575d4888
SPIGOT-6506: Fix crash with custom inventories
2021-06-11 19:20:20 +10:00
md_5
4d2c780090
Fix second usage of worldGenSettings just in case
2021-06-11 16:47:43 +10:00
md_5
5182f92349
SPIGOT-6504: Fix generating fresh worlds
2021-06-11 16:16:41 +10:00
md_5
e2f5ea34e9
Update to Minecraft 1.17
2021-06-11 15:00:00 +10:00
md_5
fae895ac11
Fix inconsistent commands
2021-06-08 14:19:00 +10:00
DerFrZocker
3797d93e36
SPIGOT-6492: PortalCreateEvent#getBlocks() returns not all blocks by reason fire
2021-06-07 18:39:32 +10:00
md_5
ebe18b9b0e
SPIGOT-6487: Fix issue with villagers picking up items in certain situations
2021-06-03 12:14:39 +10:00
md_5
90a4d64a9a
Remove usage of Java 11 method not caught by animal sniffer
2021-06-01 20:10:51 +10:00
md_5
c51c0f7fbb
SPIGOT-6483: Fix cancelling EntityPickupEvent for villagers
2021-06-01 18:53:01 +10:00
md_5
769a579cb0
SPIGOT-6482: Baby piglins will pick up more items than vanilla
2021-06-01 18:06:53 +10:00
blablubbabc
a0149bf165
SPIGOT-6480: Players cannot take books from lecterns that were opened by plugins
2021-05-29 18:52:52 +10:00
Lars Dormans
fd905ab527
#703 : Add piglin bartering API
2021-05-28 09:02:42 +10:00
DerFrZocker
afa0678e1b
SPIGOT-6133: Chorus fruit consumption calls PlayerTeleportEvent multiple times
2021-05-25 08:29:13 +10:00
md_5
7df5e6f87c
Make Vanilla /list respect Vanish API
2021-05-20 08:31:36 +10:00
DerFrZocker
cc21bae977
SPIGOT-5569: Call WorldInitEvent before any chunks are getting generated
2021-05-18 08:18:20 +10:00
md_5
1e8c432cd9
#816 : Prevent duplicate slash removal for console / block commands
2021-05-17 18:10:14 +10:00
Kermina Awad
d189f78bd9
#827 : Trigger vanilla dimension advancements in non-main worlds
2021-05-15 10:06:28 +10:00
Martoph
59e2ce9b75
SPIGOT-6224: EntityBreedEvent getEntity location inaccuracy
2021-05-11 18:33:28 +10:00
DerFrZocker
e1a6197ecb
SPIGOT-5565: Animals still spawn from chunk gen when spawn-animals=false
2021-05-11 08:18:34 +10:00
Julian van den Berkmortel
8a516e0bbb
SPIGOT-6452: Call EntityPickupItemEvent for villagers
2021-05-09 16:57:25 +10:00
Martoph
7c4adc61d0
#776 : Add ability to cancel ProjectileHitEvent
2021-05-09 16:51:44 +10:00
Julian van den Berkmortel
b6fdc7adb2
SPIGOT-6200: Improve entity events when summon command is used
...
* Calls the LightningStrikeEvent for summoned lightning
* Uses the new COMMAND SpawnReason for other entities
2021-05-09 16:33:34 +10:00
Lars Dormans
7ea8b96b4a
#826 : Make dispenser trigger fertilize event
2021-05-03 18:30:48 +10:00
Julian van den Berkmortel
6f55b5b888
SPIGOT-6442: Do not cancel zero damage on fireballs
2021-04-30 17:53:58 +10:00
Julian van den Berkmortel
69c8e78509
SPIGOT-6373: Add getAttachedFace and setAttachedFace to the Shulker API
2021-04-28 11:53:21 +10:00
Julian van den Berkmortel
0d86921e12
SPIGOT-6435: send correcting "PacketPlayOutBlockChange" packet on interact for bisected items
2021-04-27 11:37:52 +10:00
md_5
a8d7c94a5b
SPIGOT-6434: Smithing Table and Anvil inventories .getType() returns CRAFTING
2021-04-25 08:34:44 +10:00
DiamondDagger590
c5494d195a
#683 : Add PlayerBucketFishEvent
2021-04-25 08:34:44 +10:00
Julian van den Berkmortel
115244c744
SPIGOT-6078: Add SmithItemEvent and expand SmithingInventory API
2021-04-18 18:03:23 +10:00
Martoph
9294ebbf05
SPIGOT-5877: Add support for Vanilla custom dimensions
2021-04-16 10:36:05 +10:00
Julian van den Berkmortel
6b8cd9a7cb
SPIGOT-6207: forcibly drop the items of a converted zombie villager
2021-04-12 08:28:19 +10:00
md_5
170d6febd5
SPIGOT-6417: Add Creeper fuse ticks API
2021-04-11 17:32:26 +10:00
md_5
221aed6cf5
SPIGOT-6413: Server Corruption Changing Blocks in Piston Events
2021-04-07 15:03:30 +10:00
md_5
be0e945812
Add mc-dev imports
2021-04-07 15:03:29 +10:00
md_5
0791e54abf
SPIGOT-6408: Narrator chat only does not work
2021-04-05 15:31:26 +10:00
md_5
b530534f03
Remove some outdated PAIL comments
2021-04-04 17:14:53 +10:00
Martoph
f1613d6ad1
SPIGOT-6237: WorldCreator#generatorSettings not working
2021-04-04 14:02:32 +10:00
Brokkonaut
7eb35643e2
SPIGOT-6398: Fix crash when bonemealing bamboo and the BlockSpreadEvent is cancelled
2021-03-20 09:01:18 +11:00
md_5
9c32a8794c
Fix broken wandering traders
2021-03-20 08:55:48 +11:00