org.bukkit.event.block
Class BlockEvent

java.lang.Object
  extended by org.bukkit.event.Event
      extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
 
Field Summary
protected  Block block
           
 
Constructor Summary
BlockEvent(Block theBlock)
           
 
Method Summary
 Block getBlock()
          Gets the block involved in this event.
 
Methods inherited from class org.bukkit.event.Event
getEventName, getHandlers, isAsynchronous
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

block

protected Block block
Constructor Detail

BlockEvent

public BlockEvent(Block theBlock)
Method Detail

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.