-
New Feature
-
Resolution: Fixed
-
Minor
-
None
-
None
-
bukkit/spigot-api
-
This server is running CraftBukkit version 4241-Spigot-0a642bd-9cd5a19 (MC: 1.21) (Implementing API version 1.21-R0.1-SNAPSHOT)
-
required by WorldGuard
-
Yes
With the WindCharges some EntityExplodeEvents now trigger block changes instead of destroying.
The class net.minecraft.world.level.Explosion has a new enum named BlockInteraction with the following states:
- KEEP: No changes for blocks
- DESTROY: Destroy blocks now
- DESTROY_WITH_DECAY: Destroy blocks with a small delay
- TRIGGER_BLOCK: Trigger a block change/update
The EntityExplodeEvent and BlockExplodeEvent don't expose the enum so it's not possible to detect the actual damage to the world.
Please add those information to the existing events. Thanks.