Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.event.block.BlockFormEvent Class Reference
Inheritance diagram for org.bukkit.event.block.BlockFormEvent:
org.bukkit.event.block.BlockGrowEvent org.bukkit.event.Cancellable org.bukkit.event.block.BlockEvent org.bukkit.event.Cancellable org.bukkit.event.Event org.bukkit.event.block.BlockSpreadEvent org.bukkit.event.block.EntityBlockFormEvent

Public Member Functions

 BlockFormEvent (final Block block, final BlockState newState)
 
HandlerList getHandlers ()
 
- Public Member Functions inherited from org.bukkit.event.block.BlockGrowEvent
 BlockGrowEvent (final Block block, final BlockState newState)
 
BlockState getNewState ()
 
boolean isCancelled ()
 
void setCancelled (boolean cancel)
 
HandlerList getHandlers ()
 
- Public Member Functions inherited from org.bukkit.event.block.BlockEvent
 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 ()
 

Static Public Member Functions

static HandlerList getHandlerList ()
 
- Static Public Member Functions inherited from org.bukkit.event.block.BlockGrowEvent
static HandlerList getHandlerList ()
 

Additional Inherited Members

- Protected Attributes inherited from org.bukkit.event.block.BlockEvent
Block block
 

Detailed Description

Called when a block is formed or spreads based on world conditions.

Use BlockSpreadEvent to catch blocks that actually spread and don't just "randomly" form.

Examples:

  • Snow forming due to a snow storm.
  • Ice forming in a snowy Biome like Taiga or Tundra.

If a Block Form event is cancelled, the block will not be formed.

See also
BlockSpreadEvent

Definition at line 24 of file BlockFormEvent.java.


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