PocketMine
EntityBlockChangeEvent Class Reference
Inheritance diagram for EntityBlockChangeEvent:
EntityEvent Cancellable Event

Public Member Functions

 __construct (Entity $entity, Block $from, Block $to)
 
 getBlock ()
 
 getTo ()
 
- Public Member Functions inherited from EntityEvent
 getEntity ()
 
- Public Member Functions inherited from Event
 getEventName ()
 
 getHandlers ()
 
- Public Member Functions inherited from Cancellable
 isCancelled ()
 
 setCancelled ($value=true)
 

Static Public Attributes

static $handlerList = null
 

Additional Inherited Members

- Protected Attributes inherited from EntityEvent
 $entity
 
- Protected Attributes inherited from Event
 $eventName = null
 

Detailed Description

Called when an Entity, excluding players, changes a block directly

Member Function Documentation

getBlock ( )
Returns
Block
getTo ( )
Returns
Block

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