173 Commits

Author SHA1 Message Date
md_5
aa1fae732c
SPIGOT-6586: EntityChangeBlockEvent for falling block does not cancel properly 2021-06-20 08:48:15 +10:00
md_5
68d403188a
SPIGOT-6580: Cancelling SlimeSplitEvent Causes Infinite Loop 2021-06-19 08:46:31 +10:00
VendoAU
a07e783a69
#865: Implement Villager#shakeHead 2021-06-14 19:15:13 +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
md_5
cbf2f67802
SPIGOT-6508: Rename conflicted getServer 2021-06-11 21:40:36 +10:00
md_5
e2f5ea34e9
Update to Minecraft 1.17 2021-06-11 15:00:00 +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
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
Martoph
59e2ce9b75
SPIGOT-6224: EntityBreedEvent getEntity location inaccuracy 2021-05-11 18:33:28 +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
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
DiamondDagger590
c5494d195a
#683: Add PlayerBucketFishEvent 2021-04-25 08:34:44 +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
be0e945812
Add mc-dev imports 2021-04-07 15:03:29 +10:00
md_5
b530534f03
Remove some outdated PAIL comments 2021-04-04 17:14:53 +10:00
md_5
9c32a8794c
Fix broken wandering traders 2021-03-20 08:55:48 +11:00
md_5
90d6905b15
Repackage NMS 2021-03-16 09:00:00 +11:00
md_5
69cf961d83
Repackage patches 2021-03-16 09:00:00 +11:00