Package cn.nukkit.event.block
Class BlockExplodeEvent
java.lang.Object
cn.nukkit.event.Event
cn.nukkit.event.block.BlockEvent
cn.nukkit.event.block.BlockExplodeEvent
- All Implemented Interfaces:
Cancellable
@PowerNukkitOnly
@Since("1.4.0.0-PN")
public class BlockExplodeEvent
extends BlockEvent
implements Cancellable
- Since:
- 2020-10-06
- Author:
- joserobjr
-
Field Summary
Modifier and TypeFieldDescriptionprotected final double
protected final Position
protected double
Fields inherited from class cn.nukkit.event.block.BlockEvent
block
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
static HandlerList
double
getYield()
void
setAffectedBlocks
(Set<Block> blocks) void
setIgnitions
(Set<Block> ignitions) void
setYield
(double yield) Methods inherited from class cn.nukkit.event.block.BlockEvent
getBlock
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
-
Field Details
-
position
-
blocks
-
ignitions
-
yield
-
fireChance
-
-
Constructor Details
-
BlockExplodeEvent
-
-
Method Details
-
getHandlers
-
getPosition
-
getAffectedBlocks
-
setAffectedBlocks
-
getYield
-
setYield
-
getIgnitions
-
setIgnitions
-
getFireChance
-