Skip to content

ArmorTypeInfo ​

class · pocketmine\item\ArmorTypeInfo · source

Methods ​

__construct() ​

php
public function __construct(int $defensePoints, int $maxDurability, int $armorSlot, int $toughness = 0, bool $fireProof = false, ?\pocketmine\item\ArmorMaterial $material = null)

getArmorSlot() ​

php
public function getArmorSlot() : int

getDefensePoints() ​

php
public function getDefensePoints() : int

getMaterial() ​

php
public function getMaterial() : \pocketmine\item\ArmorMaterial

getMaxDurability() ​

php
public function getMaxDurability() : int

getToughness() ​

php
public function getToughness() : int

isFireProof() ​

php
public function isFireProof() : bool

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.