PHP Class pocketmine\tile\MobSpawner

Inheritance: extends Spawnable
Show file Open project: iTXTech/Genisys

Public Methods

Method Description
__construct ( pocketmine\level\format\FullChunk $chunk, CompoundTag $nbt )
canUpdate ( ) : boolean
getDelay ( )
getEntityId ( )
getMaxSpawnDelay ( )
getMinSpawnDelay ( )
getName ( ) : string
getSpawnCompound ( )
getSpawnCount ( )
getSpawnRange ( )
onUpdate ( )
setDelay ( integer $value )
setEntityId ( integer $id )
setMaxSpawnDelay ( integer $value )
setMinSpawnDelay ( integer $value )
setSpawnCount ( integer $value )
setSpawnRange ( integer $value )

Method Details

__construct() public method

public __construct ( pocketmine\level\format\FullChunk $chunk, CompoundTag $nbt )
$chunk pocketmine\level\format\FullChunk
$nbt pocketmine\nbt\tag\CompoundTag

canUpdate() public method

public canUpdate ( ) : boolean
return boolean

getDelay() public method

public getDelay ( )

getEntityId() public method

public getEntityId ( )

getMaxSpawnDelay() public method

public getMaxSpawnDelay ( )

getMinSpawnDelay() public method

public getMinSpawnDelay ( )

getName() public method

public getName ( ) : string
return string

getSpawnCompound() public method

public getSpawnCompound ( )

getSpawnCount() public method

public getSpawnCount ( )

getSpawnRange() public method

public getSpawnRange ( )

onUpdate() public method

public onUpdate ( )

setDelay() public method

public setDelay ( integer $value )
$value integer

setEntityId() public method

public setEntityId ( integer $id )
$id integer

setMaxSpawnDelay() public method

public setMaxSpawnDelay ( integer $value )
$value integer

setMinSpawnDelay() public method

public setMinSpawnDelay ( integer $value )
$value integer

setSpawnCount() public method

public setSpawnCount ( integer $value )
$value integer

setSpawnRange() public method

public setSpawnRange ( integer $value )
$value integer