3619 Commits

Author SHA1 Message Date
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
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
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
DerFrZocker
b42e708cf2
Fix new map colors rendering as transparent 2021-06-12 19:58:09 +10:00
md_5
eeae1b1995
SPIGOT-6522: ItemStack on cursor is always AIR 2021-06-12 16:24:52 +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
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
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
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
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
DerFrZocker
32e4086604
SPIGOT-6189: Persistent data disappears when calling setFacingDirection on an item frame 2021-05-15 10:11:40 +10:00
Kermina Awad
d189f78bd9
#827: Trigger vanilla dimension advancements in non-main worlds 2021-05-15 10:06:28 +10:00
Kermina Awad
51e2981b5b
#831: Reload unloaded main worlds correctly 2021-05-12 17:20:27 +10:00
md_5
d28f36c684
Handle renamed ZOMBIE_PIGMAN loot table 2021-05-09 17:31:20 +10:00
retrooper
8d3051c568
#833: Add Player#getPing to access the player's ping 2021-05-09 17:20:53 +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
DerFrZocker
95544a2da8
SPIGOT-6350: Fix wrong portal block place order 2021-05-02 18:58:07 +10:00
DerFrZocker
f3ed1ac1dc
SPIGOT-6430: Fix fungi tree not generating 2021-04-29 07:43:26 +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
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
Flo0
9db9aeecee
#823: Add Block#isPreferredTool 2021-04-21 17:31:47 +10:00
Julian van den Berkmortel
1e1a5b75b7
SPIGOT-6388: Add API to get and set the state of the "Shulker" entity 2021-04-19 18:47:47 +10:00
Julian van den Berkmortel
115244c744
SPIGOT-6078: Add SmithItemEvent and expand SmithingInventory API 2021-04-18 18:03:23 +10:00
md_5
28d72c4bd8
SPIGOT-6428: World.generateTree does not generate bee nests 2021-04-18 17:42:35 +10:00
Martoph
0e26ddb6a3
SPIGOT-5877: Add scaffolding for custom dimensions and biomes 2021-04-11 17:54:48 +10:00
md_5
170d6febd5
SPIGOT-6417: Add Creeper fuse ticks API 2021-04-11 17:32:26 +10:00