org.bukkit.event.block
Class EntityBlockFormEvent

java.lang.Object
  extended by org.bukkit.event.Event
      extended by org.bukkit.event.block.BlockEvent
          extended by org.bukkit.event.block.BlockGrowEvent
              extended by org.bukkit.event.block.BlockFormEvent
                  extended by org.bukkit.event.block.EntityBlockFormEvent
All Implemented Interfaces:
Cancellable

public class EntityBlockFormEvent
extends BlockFormEvent

Called when a block is formed by entities.

Examples:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
 
Field Summary
 
Fields inherited from class org.bukkit.event.block.BlockEvent
block
 
Constructor Summary
EntityBlockFormEvent(Entity entity, Block block, BlockState blockstate)
           
 
Method Summary
 Entity getEntity()
          Get the entity that formed the block.
 
Methods inherited from class org.bukkit.event.block.BlockFormEvent
getHandlerList, getHandlers
 
Methods inherited from class org.bukkit.event.block.BlockGrowEvent
getNewState, isCancelled, setCancelled
 
Methods inherited from class org.bukkit.event.block.BlockEvent
getBlock
 
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.bukkit.event.Cancellable
isCancelled, setCancelled
 

Constructor Detail

EntityBlockFormEvent

public EntityBlockFormEvent(Entity entity,
                            Block block,
                            BlockState blockstate)
Method Detail

getEntity

public Entity getEntity()
Get the entity that formed the block.

Returns:
Entity involved in event


Copyright © 2013. All Rights Reserved.