- All Implemented Interfaces:
Called when an entity enters the hitbox of a block. Only called for blocks that react when an entity is inside. If cancelled, any action that would have resulted from that entity being in the block will not happen (such as extinguishing an entity in a cauldron).
Blocks this is currently called for:
- Bubble column
- Ender Portal
- Detector rails
- Nether portals
- Pressure plates
- Sweet berry bush
- Wither rose
Nested Class Summary
getBlockGets the block.
- the block
isCancelledpublic boolean isCancelled()Description copied from interface:
CancellableGets the cancellation state of this event. A cancelled event will not be executed in the server, but will still pass to other plugins
setCancelledpublic void setCancelled(boolean cancel)Description copied from interface:
CancellableSets the cancellation state of this event. A cancelled event will not be executed in the server, but will still pass to other plugins.