PHP Class pocketmine\tile\Cauldron

Inheritance: extends Spawnable
显示文件 Open project: iTXTech/Genisys

Public Methods

Method Description
__construct ( pocketmine\level\format\FullChunk $chunk, CompoundTag $nbt )
clearCustomColor ( )
getCustomColor ( )
getCustomColorBlue ( )
getCustomColorGreen ( )
getCustomColorRed ( )
getPotionId ( )
getSpawnCompound ( )
getSplashPotion ( )
hasPotion ( )
isCustomColor ( )
setCustomColor ( $r, $g = 255, $b = 255 )
setPotionId ( $potionId )
setSplashPotion ( $bool )

Method Details

__construct() public method

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

clearCustomColor() public method

public clearCustomColor ( )

getCustomColor() public method

public getCustomColor ( )

getCustomColorBlue() public method

public getCustomColorBlue ( )

getCustomColorGreen() public method

public getCustomColorGreen ( )

getCustomColorRed() public method

public getCustomColorRed ( )

getPotionId() public method

public getPotionId ( )

getSpawnCompound() public method

public getSpawnCompound ( )

getSplashPotion() public method

public getSplashPotion ( )

hasPotion() public method

public hasPotion ( )

isCustomColor() public method

public isCustomColor ( )

setCustomColor() public method

public setCustomColor ( $r, $g = 255, $b = 255 )

setPotionId() public method

public setPotionId ( $potionId )

setSplashPotion() public method

public setSplashPotion ( $bool )