PHP Class pocketmine\item\Armor

Inheritance: extends Item
Afficher le fichier Open project: iTXTech/Genisys

Méthodes publiques

Méthode 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 méthode

public clearCustomColor ( )

getArmorTier() public méthode

public getArmorTier ( )

getArmorType() public méthode

public getArmorType ( )

getArmorValue() public méthode

public getArmorValue ( )

getCustomColor() public méthode

public getCustomColor ( )

getMaxDurability() public méthode

public getMaxDurability ( )

getMaxStackSize() public méthode

public getMaxStackSize ( ) : integer
Résultat integer

isArmor() public méthode

public isArmor ( )

isBoots() public méthode

public isBoots ( )

isChestplate() public méthode

public isChestplate ( )

isHelmet() public méthode

public isHelmet ( )

isLeggings() public méthode

public isLeggings ( )

isUnbreakable() public méthode

public isUnbreakable ( )

setCustomColor() public méthode

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

useOn() public méthode

public useOn ( Item $object, integer $cost = 1 ) : boolean
$object Item
$cost integer
Résultat boolean