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

Public Member Functions

 __construct (Block $block, Block $source, Block $newState)
 
 getSource ()
 
- Public Member Functions inherited from BlockFormEvent
 __construct (Block $block, Block $newState)
 
- Public Member Functions inherited from BlockGrowEvent
 __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
 
- Static Public Attributes inherited from BlockFormEvent
static $handlerList = null
 
- Static Public Attributes inherited from BlockGrowEvent
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  $source,
Block  $newState 
)

BlockSpreadEvent constructor.

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

Member Function Documentation

◆ getSource()

getSource ( )
Returns
Block
48  {
49  return $this->source;
50  }

Field Documentation

◆ $handlerList

$handlerList = null
static

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