PocketMine-MP 5.27.1 git-9af3cde03fabbe4129c79e46dc87ffa0fff446e6
|
Public Member Functions | |
__construct (private readonly int $enchantability, private readonly ?Sound $equipSound=null) | |
getEnchantability () | |
getEquipSound () | |
Definition at line 28 of file ArmorMaterial.php.
pocketmine\item\ArmorMaterial::__construct | ( | private readonly int | $enchantability, |
private readonly ?Sound | $equipSound = null ) |
Definition at line 30 of file ArmorMaterial.php.
pocketmine\item\ArmorMaterial::getEnchantability | ( | ) |
Returns 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.
Definition at line 42 of file ArmorMaterial.php.
pocketmine\item\ArmorMaterial::getEquipSound | ( | ) |
Returns the sound that plays when equipping the armor
Definition at line 49 of file ArmorMaterial.php.