PHP Class pocketmine\item\Armor

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

Public Methods

Method Description
clearCustomColor ( )
getArmorTier ( )
getArmorType ( )
getArmorValue ( )
getCustomColor ( )
getMaxDurability ( )
getMaxStackSize ( ) : integer
isArmor ( )
isBoots ( )
isChestplate ( )
isHelmet ( )
isLeggings ( )
isUnbreakable ( )
setCustomColor ( Color $color )
useOn ( Item $object, integer $cost = 1 ) : boolean

Method Details

clearCustomColor() public method

public clearCustomColor ( )

getArmorTier() public method

public getArmorTier ( )

getArmorType() public method

public getArmorType ( )

getArmorValue() public method

public getArmorValue ( )

getCustomColor() public method

public getCustomColor ( )

getMaxDurability() public method

public getMaxDurability ( )

getMaxStackSize() public method

public getMaxStackSize ( ) : integer
return integer

isArmor() public method

public isArmor ( )

isBoots() public method

public isBoots ( )

isChestplate() public method

public isChestplate ( )

isHelmet() public method

public isHelmet ( )

isLeggings() public method

public isLeggings ( )

isUnbreakable() public method

public isUnbreakable ( )

setCustomColor() public method

public setCustomColor ( Color $color )
$color pocketmine\utils\Color

useOn() public method

public useOn ( Item $object, integer $cost = 1 ) : boolean
$object Item
$cost integer
return boolean