org.bukkit.event.block
Class BlockEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
- Direct Known Subclasses:
- BlockBurnEvent, BlockCanBuildEvent, BlockDamageEvent, BlockDispenseEvent, BlockExpEvent, BlockFadeEvent, BlockFromToEvent, BlockGrowEvent, BlockIgniteEvent, BlockPhysicsEvent, BlockPistonEvent, BlockPlaceEvent, BlockRedstoneEvent, BrewEvent, FurnaceBurnEvent, FurnaceSmeltEvent, LeavesDecayEvent, NotePlayEvent, SignChangeEvent
public abstract class BlockEvent
- extends Event
Represents a block related event.
Method Summary |
Block |
getBlock()
Gets the block involved in this event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
block
protected Block block
BlockEvent
public BlockEvent(Block theBlock)
getBlock
public final Block getBlock()
- Gets the block involved in this event.
- Returns:
- The Block which block is involved in this event
Copyright © 2013. All Rights Reserved.