4979 Commits

Author SHA1 Message Date
md_5
72a2901b31
SPIGOT-6557: PlayerEditBookEvent#setNewBookMeta does not update meta 2021-06-14 19:37:21 +10:00
VendoAU
a07e783a69
#865: Implement Villager#shakeHead 2021-06-14 19:15:13 +10:00
Martoph
3252ff189c
#863: Add LivingEntity#isClimbing 2021-06-14 19:11:46 +10:00
md_5
77058c79de
SPIGOT-6554: Worlds created with the bukkit ChunkGenerator cannot save 2021-06-14 13:52:25 +10:00
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
konsolas
ea1a84338c
#855: Add Block#getCollisionShape and associated API 2021-06-14 08:38:44 +10:00
konsolas
e7c6472526
#857: Add Block#getBreakSpeed(Player) 2021-06-14 08:30:56 +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
md_5
c9a92ad08e
SPIGOT-6536: Marker position not set on spawn 2021-06-13 10:25:21 +10:00
konsolas
20d3e57c4e
#855: Add HumanEntity#getItemInUse and Material#getSlipperiness 2021-06-13 08:59:59 +10:00
md_5
d9c69b44da
SPIGOT-6529: Fix BundleMeta#setItems 2021-06-13 08:48:13 +10:00
Parker Hawke
8bd43be507
SPIGOT-6535: PlayerGameModeChangeEvent event incorrectly reports old gamemode 2021-06-13 08:43:21 +10:00
Nathat23
4ece3ff36d
#856: Add methods to check if item is the breed item for an entity 2021-06-13 08:37:53 +10:00
md_5
dd4bec5f13
Add additional validation to Player#breakBlock 2021-06-13 08:27:57 +10:00
md_5
bc835ae644
SPIGOT-6532: Fix Entity#setGlowing 2021-06-13 08:26:10 +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
DerFrZocker
b42e708cf2
Fix new map colors rendering as transparent 2021-06-12 19:58:09 +10:00
md_5
cfe7fecf3e
SPIGOT-6524: Inventory desync when InventoryClickEvent is cancelled 2021-06-12 19:44:31 +10:00
md_5
eeae1b1995
SPIGOT-6522: ItemStack on cursor is always AIR 2021-06-12 16:24:52 +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
md_5
4ac634adae
SPIGOT-6515: "Un-waterlogging" throws UnsupportedOperationException in some cases 2021-06-12 08:59:08 +10:00
md_5
da425fa23d
SPIGOT-6518: Anvils falling onto dripstone can sometimes crash server 2021-06-12 08:54:51 +10:00
DerFrZocker
50530da9ec
SPIGOT-6514: Small Dripleaf block data is missing half property 2021-06-12 08:47:12 +10:00
Parker Hawke
6fdecf208d
#853: Implement Player#breakBlock() 2021-06-12 08:30:49 +10:00
DerFrZocker
4db9c49f97
SPIGOT-6510: Bukkit#createMap throws NullPointerException 2021-06-12 08:25:44 +10:00
md_5
89e2b1270f
SPIGOT-6517: Spider jockey crash on dripstone 2021-06-12 08:09: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
a3df386f7c
Fix NPE with Entity.getNearbyEntities 2021-06-11 18:49:04 +10:00
md_5
d747f8ed15
Fix NPE with World.getNearbyEntities 2021-06-11 17:24:50 +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
296df56673
Remove outdated build delay. 2021-06-11 14:03:30 +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
blablubbabc
5912843493
SPIGOT-6478: Double chests opened by plugins don't play their closing animation. 2021-05-29 08:41:36 +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
9c7acb6cbe
SPIGOT-6464: Fix ShulkerBox#getColor for undyed shulkers 2021-05-23 08:30:54 +10:00
Wesley Smith
d49530f9c4
#845: Remove unnecessary calls to Class#getSimpleName in PDC 2021-05-21 08:25:11 +10:00
md_5
7df5e6f87c
Make Vanilla /list respect Vanish API 2021-05-20 08:31:36 +10:00