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

Public Member Functions

 __construct (Level $level, Chunk $chunk, bool $newChunk)
 
 isNewChunk ()
 
- Public Member Functions inherited from ChunkEvent
 __construct (Level $level, Chunk $chunk)
 
 getChunk ()
 
- Public Member Functions inherited from LevelEvent
 __construct (Level $level)
 
 getLevel ()
 
- Public Member Functions inherited from Event
 getEventName ()
 
 getHandlers ()
 

Static Public Attributes

static $handlerList = null
 

Additional Inherited Members

- Protected Attributes inherited from Event
 $eventName = null
 

Detailed Description

Called when a Chunk is loaded

Constructor & Destructor Documentation

◆ __construct()

__construct ( Level  $level,
Chunk  $chunk,
bool  $newChunk 
)

ChunkLoadEvent constructor.

Parameters
Level$level
Chunk$chunk
bool$newChunk
43  {
44  parent::__construct($level, $chunk);
45  $this->newChunk = $newChunk;
46  }

Member Function Documentation

◆ isNewChunk()

isNewChunk ( )
Returns
bool
51  {
52  return $this->newChunk;
53  }

Field Documentation

◆ $handlerList

$handlerList = null
static

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