ArmorMaterial
Methods
__construct()
php
public function __construct(int $enchantability, ?\pocketmine\world\sound\Sound $equipSound = null)getEnchantability()
php
public function getEnchantability() : intReturns the value that defines how enchantable the item is.
The higher an item's enchantability is, the more likely it will be to gain high-level enchantments or multiple enchantments upon being enchanted in an enchanting table.
getEquipSound()
php
public function getEquipSound() : ?\pocketmine\world\sound\SoundReturns the sound that plays when equipping the armor
