Package cn.nukkit.event.block
Class BlockPistonEvent
java.lang.Object
cn.nukkit.event.Event
cn.nukkit.event.block.BlockEvent
cn.nukkit.event.block.BlockPistonEvent
- All Implemented Interfaces:
Cancellable
-
Field Summary
Fields inherited from class cn.nukkit.event.block.BlockEvent
block
-
Constructor Summary
ConstructorDescriptionBlockPistonEvent
(BlockPistonBase piston, BlockFace direction, List<Block> blocks, List<Block> destroyedBlocks, boolean extending) -
Method Summary
Methods inherited from class cn.nukkit.event.Event
getEventName, isCancelled, setCancelled, setCancelled
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cn.nukkit.event.Cancellable
isCancelled, setCancelled, setCancelled
-
Constructor Details
-
BlockPistonEvent
@PowerNukkitOnly public BlockPistonEvent(BlockPistonBase piston, BlockFace direction, List<Block> blocks, List<Block> destroyedBlocks, boolean extending)
-
-
Method Details
-
getHandlers
-
getDirection
-
getBlocks
-
getDestroyedBlocks
-
isExtending
-
getBlock
- Overrides:
getBlock
in classBlockEvent
-