Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.event.block.BlockEvent Class Referenceabstract
Inheritance diagram for org.bukkit.event.block.BlockEvent:
org.bukkit.event.Event org.bukkit.event.block.BlockBurnEvent org.bukkit.event.block.BlockCanBuildEvent org.bukkit.event.block.BlockDamageEvent org.bukkit.event.block.BlockDispenseEvent org.bukkit.event.block.BlockExpEvent org.bukkit.event.block.BlockFadeEvent org.bukkit.event.block.BlockFromToEvent org.bukkit.event.block.BlockGrowEvent org.bukkit.event.block.BlockIgniteEvent org.bukkit.event.block.BlockPhysicsEvent org.bukkit.event.block.BlockPistonEvent org.bukkit.event.block.BlockPlaceEvent org.bukkit.event.block.BlockRedstoneEvent org.bukkit.event.block.LeavesDecayEvent org.bukkit.event.block.NotePlayEvent org.bukkit.event.block.SignChangeEvent org.bukkit.event.inventory.BrewEvent org.bukkit.event.inventory.FurnaceBurnEvent org.bukkit.event.inventory.FurnaceSmeltEvent

Public Member Functions

 BlockEvent (final Block theBlock)
 
final Block getBlock ()
 
- Public Member Functions inherited from org.bukkit.event.Event
 Event ()
 
 Event (boolean isAsync)
 
String getEventName ()
 
abstract HandlerList getHandlers ()
 
final boolean isAsynchronous ()
 

Protected Attributes

Block block
 

Detailed Description

Represents a block related event.

Definition at line 9 of file BlockEvent.java.

Member Function Documentation

final Block org.bukkit.event.block.BlockEvent.getBlock ( )

Gets the block involved in this event.

Returns
The Block which block is involved in this event

Definition at line 21 of file BlockEvent.java.

Referenced by org.bukkit.event.block.BlockPlaceEvent.getBlockPlaced(), org.bukkit.event.inventory.FurnaceSmeltEvent.getFurnace(), org.bukkit.event.inventory.FurnaceBurnEvent.getFurnace(), and org.bukkit.event.block.BlockPistonRetractEvent.getRetractLocation().

21  {
22  return block;
23  }

The documentation for this class was generated from the following file: