PocketMine-MP 5.15.1 git-be6754494fdbbb9dd57c058ba0e33a4a78c4581f
pocketmine\item\ArmorTypeInfo Class Reference
+ Collaboration diagram for pocketmine\item\ArmorTypeInfo:

Public Member Functions

 __construct (private int $defensePoints, private int $maxDurability, private int $armorSlot, private int $toughness=0, private bool $fireProof=false, ?ArmorMaterial $material=null)
 
 getArmorSlot ()
 
 getDefensePoints ()
 
 getMaterial ()
 
 getMaxDurability ()
 
 getToughness ()
 
 isFireProof ()
 

Detailed Description

Definition at line 26 of file ArmorTypeInfo.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\item\ArmorTypeInfo::__construct ( private int  $defensePoints,
private int  $maxDurability,
private int  $armorSlot,
private int  $toughness = 0,
private bool  $fireProof = false,
?ArmorMaterial  $material = null 
)

Definition at line 29 of file ArmorTypeInfo.php.

Member Function Documentation

◆ getArmorSlot()

pocketmine\item\ArmorTypeInfo::getArmorSlot ( )

Definition at line 48 of file ArmorTypeInfo.php.

◆ getDefensePoints()

pocketmine\item\ArmorTypeInfo::getDefensePoints ( )

Definition at line 40 of file ArmorTypeInfo.php.

◆ getMaterial()

pocketmine\item\ArmorTypeInfo::getMaterial ( )

Definition at line 60 of file ArmorTypeInfo.php.

◆ getMaxDurability()

pocketmine\item\ArmorTypeInfo::getMaxDurability ( )

Definition at line 44 of file ArmorTypeInfo.php.

◆ getToughness()

pocketmine\item\ArmorTypeInfo::getToughness ( )

Definition at line 52 of file ArmorTypeInfo.php.

◆ isFireProof()

pocketmine\item\ArmorTypeInfo::isFireProof ( )

Definition at line 56 of file ArmorTypeInfo.php.


The documentation for this class was generated from the following file: