242 Commits

Author SHA1 Message Date
Doc
3571ca8d13
#1070: Add SpawnReason and TransformReason for Tadpole metamorphosis into Frog 2022-06-13 15:24:58 +10:00
Brokkonaut
effea36a28
#1065: Add missing calls for BlockSpreadEvent when Sculk spreads 2022-06-11 13:20:38 +10:00
md_5
b2557f6acd
SPIGOT-7041: Custom BiomeProvider not used when world set to type FLAT 2022-06-10 11:08:00 +10:00
md_5
732c50cab7
SPIGOT-7043: EnderChest does not implement Lidded 2022-06-10 10:57:43 +10:00
md_5
64c15270e7
Update to Minecraft 1.19 2022-06-08 02:00:00 +10:00
Doc
a59dc59e88
SPIGOT-7025: Use existing item in hand for ranged Drowned attack 2022-06-05 16:30:03 +10:00
DerFrZocker
9d46b56e26
SPIGOT-7009: Stuck on "Loading terrain..." after disconnecting on respawn screen 2022-06-03 09:19:53 +10:00
DerFrZocker
7bc728a6b8
#1045: Revert changes to persistence required checks 2022-05-03 23:13:03 +10:00
md_5
9cc7d766dc
SPIGOT-7010: Changing dropper item results in using dispensing behaviour 2022-04-28 19:16:28 +10:00
Doc
e87f2e3ed1
SPIGOT-6992: Add LimitedLife/LifeTicks/Bound APIs to Vex 2022-04-21 06:45:42 +10:00
md_5
cf391b51c8
Pass in SpawnReason rather than boolean 2022-04-18 11:05:15 +10:00
Doc
098aecb04f
SPIGOT-7001: Fix entity already exists in CraftWorld#spawnFallingBlock 2022-04-18 11:05:12 +10:00
Doc
a459f4d4f5
#1033: Add Villager#zombify 2022-04-15 13:48:55 +10:00
Doc
b5559f8c4d
SPIGOT-6990: Fix setRepairCost(0) in Anvil 2022-04-09 09:42:11 +10:00
md_5
2542945ef4
Remove broken quickMoveStack implementation 2022-04-04 20:17:00 +10:00
Martoph
d53c4fb65c
#1039: Use correct ops in GeneratorSettings 2022-03-27 16:24:09 +11:00
Brokkonaut
3ec79a27d4
SPIGOT-5140: Call EntityChangeBlockEvent when a ChorusFlower is destroyed by a projectile 2022-03-21 13:17:54 +11:00
DerFrZocker
34d40b0eb7
SPIGOT-2942: give command fires PlayerDropItemEvent, cancelling it causes Item Duplication 2022-03-11 21:47:13 +01:00
BlackHole
74c0831230
SPIGOT-6962: Call EntityChangeBlockEvent when when FallingBlockEntity starts to fall 2022-03-11 16:24:02 +11:00
md_5
05a38da190
Update to Minecraft 1.18.2 2022-03-01 02:00:00 +11:00
md_5
38f204d8cb
SPIGOT-6936: Cancelling EntityAirChangeEvent doesn't stop player's bubbles from decreasing client side 2022-02-20 09:25:32 +11:00
md_5
3aabea17fe
SPIGOT-6937: Ramming goat does not throw EntityTargetLivingEntityEvent 2022-02-20 09:07:37 +11:00
Doc
c0326c2840
#1009: Add Furnace#getRecipesUsed 2022-02-15 18:49:39 +11:00
DerFrZocker
cc5ddd7936
#1010: Add PDC to World 2022-02-15 09:36:00 +11:00
Doc
febaa1c6f5
SPIGOT-6918: Add SpawnCategory API and configurations for Axolotls 2022-02-07 18:52:16 +11:00
DerFrZocker
bdac46b07b
SPIGOT-6782: EntityPortalEvent should not destroy entity when setTo() uses same world as getFrom() 2022-02-05 18:51:46 +01:00
Doc
13670b4426
SPIGOT-6890: Add repair cost amount in AnvilInventory 2022-01-26 09:30:35 +11:00
DerFrZocker
30b4043e2a
SPIGOT-6907: Oxygen does not restore up to value set by LivingEntity#setMaximumAir() 2022-01-23 09:06:19 +11:00
Phoenix616
74a5cc8a78
#994: Fix changing world in portal events not updating used world border
Also clamp the event's target location to the world border
2022-01-20 18:36:14 +11:00
Doc
2e61a5f8eb
SPIGOT-6888: Add SpawnReason for Vex spawned by Evokers 2022-01-14 10:55:59 +11:00
Martoph
f3828bbee6
#989: Add PDC to Structures 2022-01-07 09:43:38 +11:00
DerFrZocker
cc86ab1886
SPIGOT-5339, SPIGOT-6252, SPIGOT-6777: Only cancel knockback if the damage event was canceled 2022-01-03 18:07:01 +01:00
md_5
fb92f345d9
SPIGOT-6278: Persistent piglins count towards mob cap 2022-01-02 11:45:52 +11:00
Matthew
752fa511a9
#374: Add isJohnny / setJohnny for Vindicator 2022-01-01 09:58:04 +11:00
Matthew
19f2af066e
#373: Add trap related methods to SkeletonHorse 2022-01-01 09:58:04 +11:00
blablubbabc
0ba6b90135
SPIGOT-5766: The VillagerReplenishTradeEvent is now called when a villager restocks its trades. 2021-12-25 10:14:17 +11:00
DerFrZocker
bdff7d56fb
SPIGOT-5627: Leads vanish when transporting leashed entities through a Nether portal 2021-12-25 09:39:27 +11:00
Doc
86c91bab1f
SPIGOT-6836: Add more API methods in MerchantRecipe 2021-12-18 11:44:34 +11:00
md_5
e36f7599d6
SPIGOT-6852: BlockReceiveGameEvent#getBlock returning wrong block 2021-12-14 07:52:43 +11:00
md_5
dad8517102
SPIGOT-6851: removeRecipe not unregistering recipe ID 2021-12-13 11:25:22 +11:00
md_5
c2e0bbda4e
Update to Minecraft 1.18.1 2021-12-11 00:12:31 +11:00
md_5
3c2af1b7f5
SPIGOT-6831: Fix llama strength crash 2021-12-06 15:15:09 +11:00
Bjarne Koll
f49e9d1932
#971: Remove strong chunk reference in PDC
A previous fix for SPIGOT-6814 implemented a callback function for the
PDC implementation that could be set to actively define a chunk as
unsaved, allowing chunks that have not been mutated through block
changes to still require saving if the chunks pdc was mutated.

This implementation however would pass a callback that references the
chunk access internally, meaning the PDC now actively holds onto a
callback that holds a reference to the entire chunk.

Aditionally, this change also impacted the pdc for item metas and
entities for really no reason whatsoever.

This commit re-implements the fix by introducing a new child of the pdc
implementation that the chunk now uses as its pdc. This specific
implementation maintains a dirty flag that is set to `true` on any form
of mutation and set back to false by the chunk that owns the PDC
whenever the chunk itself is flag as no longer dirty.
2021-12-05 08:53:46 +11:00
Rafael S. M. Santos
fd3478bc77
#967: Store last lava contact location for events 2021-12-04 08:06:32 +11:00
md_5
6f3509d12e
Release POIs when villagers are removed by plugins 2021-12-03 15:05:20 +11:00
md_5
2ccb6a9b9f
SPIGOT-6828: <player> fell off a ladder/vines death message not supported 2021-12-02 12:29:35 +11:00
Rafael S. M. Santos
a0087010ac
SPIGOT-6795: Fix BlockFertilizeEvent not being triggered for Azaleas 2021-12-01 08:27:58 +11:00
Doc
a46e7f18e8
SPIGOT-6820: VillagerCareerChangeEvent's ChangeReason is sometimes incorrect 2021-12-01 08:26:14 +11:00
md_5
9fb3aa4c7a
SPIGOT-6817: Revert back to old block state behaviour again 2021-11-29 11:03:16 +11:00
DerFrZocker
04f8e7e21f
SPIGOT-6814: (Chunk) PersistentData is lost after restart 2021-11-29 09:28:19 +11:00