GenisysPro  for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
BlockGrowEvent Class Reference

Public Member Functions

 __construct (Block $block, Block $newState)
 
 getNewState ()
 
- Public Member Functions inherited from BlockEvent
 __construct (Block $block)
 
 getBlock ()
 
- Public Member Functions inherited from Event
 getEventName ()
 
 getHandlers ()
 
- Public Member Functions inherited from Cancellable
 isCancelled ()
 
 setCancelled ($forceCancel=false)
 

Static Public Attributes

static $handlerList = null
 

Additional Inherited Members

- Protected Attributes inherited from BlockEvent
 $block
 
- Protected Attributes inherited from Event
 $eventName = null
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( Block  $block,
Block  $newState 
)

BlockGrowEvent constructor.

Parameters
Block$block
Block$newState
39  {
40  parent::__construct($block);
41  $this->newState = $newState;
42  }

Member Function Documentation

◆ getNewState()

getNewState ( )
Returns
Block
47  {
48  return $this->newState;
49  }

Field Documentation

◆ $handlerList

$handlerList = null
static

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