Commit Graph
29 Commits
Author SHA1 Message Date
Lulu13022002 db48389906 Include previous spawn angle in SpawnChangeEvent (#8606) 2023-03-04 23:42:10 +01:00
Lulu13022002 631251a913 Take in account waterlogged block for the event (#8623)
There's some inconsistencies between the EntityChangeBlockEvent and the BlockDestroyEvent. The destroy event has always the right final type but the change block event has always air even for waterlogged blocks. This fix this behavior only for possible case to avoid a bigger patch.
2023-03-04 23:35:26 +01:00
Lulu13022002 562a36f98b Add EntityFertilizeEggEvent (#8041) 2023-03-04 23:23:32 +01:00
Lulu13022002 0d9fa0f886 Update the flag when a captured block state is outdated (#8860) 2023-02-28 13:13:59 +01:00
Lulu13022002 a7a3da8802 Avoid duplicate game event on initial fill (#8887) 2023-02-23 10:37:28 +01:00
Lulu13022002 f3de04a9fb Fix desync of honeycomb when the event is canceled (#8713) 2023-02-11 18:14:03 +01:00
Lulu13022002 f7f8d3c75b [ci skip] Fix hoglin conversionTime javadoc (#8734) 2022-12-30 21:08:02 +01:00
Lulu13022002 3ee986cc2d Avoid to spam the transform event for hoglin->zoglin conversion (#8712) 2022-12-22 23:39:07 +01:00
Lulu13022002 03dad8f20a Add missing EntityChangeBlockEvent (#8696)
* Add missing EntityChangeBlockEvent

* Fix duplicate empty bottle when canceled for creative player

* Use native update impl instead of craftbukkit -> nms
2022-12-17 19:20:14 +01:00
Lulu13022002 8b951a41ae Don't show particles when splash events are canceled (#8637) 2022-12-10 22:27:36 +01:00
Lulu13022002 2f97008db9 Fix chunksnapshot biome getter (#8639) 2022-12-10 14:11:39 +01:00
Lulu13022002 ef47433fdb Add eating regain reason for Camels (#8638) 2022-12-10 14:07:35 +01:00
Lulu13022002 08bcef4859 Handle legacy quirk in the console formatter (#8434) 2022-11-28 14:41:29 +01:00
Lulu13022002 3375abab49 More vanilla friendly methods to update trades (#8478) 2022-11-23 22:38:49 +01:00
Lulu13022002 944be7b031 Avoid a cubed max search distance for POIs (#8576)
The max search distance used to get the closest Poi data on X/Z axis is cubed
instead of squared (one time in the parameter and another time in the function)
for almost all search.
Generally this has been hidden by another check that already does a pre
distance check between the poi pos and the source pos for individual
component but the issue still happens for diagonal distance search.
Discovered by Samsuik
2022-11-21 16:02:21 +01:00
Lulu13022002 f07cda9bb9 Sync chunk load command improvements (#8554) 2022-11-19 20:10:13 +01:00
Lulu13022002 72369d4f40 Reorder bukkit damage source entity for explosion (#8553) 2022-11-19 03:14:52 +01:00
Lulu13022002 4400eb6600 Call PlayerLaunchProjectileEvent for trident (#8027) 2022-11-03 19:43:50 +01:00
Lulu13022002 0af5c64201 Fix new block data in EntityChangeBlockEvent for silverfish when mobGriefing isn't enabled (#8099) 2022-10-27 00:05:15 +02:00
Lulu13022002 c0e86f0599 Avoid cycle deprecation (#8466) 2022-10-13 13:52:04 +02:00
Lulu13022002 e827d176c4 Update settings directory path in exceptions (#7968) 2022-10-13 13:38:06 +02:00
Lulu13022002 f059f8fce5 Fix setEggCount method from TurtleLayEggEvent (#8385) 2022-09-24 18:34:20 +02:00
Lulu13022002 2e51143433 Avoid item meta usage for itemstack enchantment getter (#8373) 2022-09-24 07:19:51 +02:00
Lulu13022002 2277da6ec5 Call BlockPhysicsEvent more often (#8264) 2022-09-23 07:35:15 +02:00
Lulu13022002 6d4edceb20 Call EntityChangeBlockEvent for frogs egg (#8136) 2022-09-23 07:32:32 +02:00
Lulu13022002 661b30a785 Missing some effect cause (#8307) 2022-09-18 05:46:20 +02:00
Lulu13022002 d146ab42bd Missing eating regain reason (#8244) 2022-09-18 05:24:28 +02:00
Lulu13022002 d2bed83767 Call jump event for the beast (#8100) 2022-07-20 18:17:42 +02:00
Lulu13022002 913ca9381e Add xp orb spawn reason for frogs (#8045) 2022-07-07 23:38:12 +02:00