Commit Graph
61 Commits
Author SHA1 Message Date
Lulu13022002 64b1b0fc06 Fix NPE in SculkBloomEvent world access (#9857) 2023-10-21 22:20:24 +02:00
Lulu13022002 9b7863a607 Some jd fixes (#9781) 2023-10-01 02:20:51 +02:00
Lulu13022002 8560e471b8 Fix SuspiciousStewMeta 2023-09-23 16:41:51 +02:00
Lulu13022002 645afb11f7 fix test 2023-09-23 13:38:46 +02:00
Lulu13022002 77719b1566 some compile issues 2023-09-22 19:25:18 +02:00
Lulu13022002 fdf4e8726b more work
all server patches done (almost)
2023-09-22 18:59:52 +02:00
Lulu13022002 0925b4af6f some work 2023-09-22 18:11:35 +02:00
Lulu13022002 6cc04e3081 Add missing deprecation (#8886) 2023-09-21 10:35:38 +02:00
Lulu13022002andJake Potrebic 4d585e0587 Fix silent equipment change for mobs (#9677)
* Fix silent equipment change for mobs

* rebased and added test to make sure all overrides are added

---------

Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2023-09-17 01:27:11 +02:00
Lulu13022002 abbdae4f53 Swap some nullable annotations (#9696) 2023-09-14 12:44:12 +02:00
Lulu13022002 e9d300a828 Take in account waterlogged blocks for scaffolding (#9676) 2023-09-04 17:52:27 +02:00
Lulu13022002 d0bce54059 Add sniffer egg api (#9288) 2023-08-26 22:12:46 +02:00
Lulu13022002 a92fdba593 Allow custom damage for trident (#8132) 2023-08-22 08:20:38 +02:00
Lulu13022002 b6c058204f Fix endgateway teleportation offset (#9517) 2023-08-22 08:03:15 +02:00
Lulu13022002 6667ae5ce2 Prevent desync for poi and pistons (#9270) 2023-07-13 21:22:05 +02:00
Lulu13022002 493852bbd1 Fix ThrownEggHatchEvent#setHatching (#9448) 2023-07-05 09:46:12 +02:00
Lulu13022002andJake Potrebic 1dec9836ed Call missing BlockDispenseEvents (#8518)
* Call missing BlockDispenseEvent

* Avoid duplicate event

* Show a single item for event

* Move glowstone refill event

* rebased

---------

Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2023-07-03 01:12:07 +02:00
Lulu13022002 94fbc95d13 Avoid duplicate death event call for armorstands (#9223)
* Avoid duplicate death event call for armorstands

* restore vanilla behavior (emit the game event etc...)
2023-06-27 06:22:49 +02:00
Lulu13022002 0f4cd873af Fix sniffer removeExploredLocation and javadoc (#9311) 2023-06-16 15:33:25 +02:00
Lulu13022002 04928c58a4 Fix EntityDeathEvent cancellation (#9323) 2023-06-12 19:03:51 +02:00
Lulu13022002 8ee3c344d4 Add back the source uuid on exp orb for animals breeding (#9289) 2023-06-11 03:01:10 +02:00
Lulu13022002 8405a53d88 Add pitcher plant api (#9286) 2023-06-09 14:23:38 +02:00
Lulu13022002 c67f26d42a Fix collision between AABB and a dot (#8733) 2023-06-09 04:17:32 +02:00
Lulu13022002 ae7ed5a3b3 Avoid duplicate poi entries from the first section (#9235) 2023-06-09 04:14:30 +02:00
Lulu13022002 36d17c312f Re-implement the compost events (#9192) 2023-05-31 03:07:04 +02:00
Lulu13022002 d6e9b7fd8d Use the spigot config for mangrove propagule / torchflower growth (#8597) 2023-05-15 20:25:38 +02:00
Lulu13022002 be21be4029 Fix note block sound property on player heads (#9158) 2023-05-15 19:32:26 +02:00
Lulu13022002 b4656d3a02 Call EntityChangeBlockEvent for frogs egg (#9213) 2023-05-15 12:56:12 +02:00
Lulu13022002 2ba17103b9 Fix some NPE for EntityCompostItemEvent (#9169) 2023-05-03 13:07:51 +02:00
Lulu13022002 b0f2d4916c Fix some broken block place logic (#9094)
- The dispensed shulker will not play the place sound (due to its logic been removed)
- The hanging sign text editor cannot be cancelled using the BlockPlaceEvent (not consistent with the other regular signs)
- The jukebox logic hasn't been synced with the RecordItem
2023-04-07 00:39:32 +02:00
Lulu13022002 e217afc5b4 Cleanup some patches (#9093) 2023-04-04 11:47:16 +02:00
Lulu13022002 938557e97b [ci skip] Correct upstream/paper javadoc (#8286) 2023-03-31 06:09:13 +02:00
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