PocketMine-MP 5.15.1 git-5ef247620a7c6301a849b54e5ef1009217729fc8
pocketmine\item\VanillaArmorMaterials Class Reference
+ Collaboration diagram for pocketmine\item\VanillaArmorMaterials:

Static Public Member Functions

static getAll ()
 

Static Protected Member Functions

static register (string $name, ArmorMaterial $armorMaterial)
 
static setup ()
 

Detailed Description

This doc-block is generated automatically, do not modify it manually. This must be regenerated whenever registry members are added, removed or changed.

See also
build/generate-registry-annotations.php @generate-registry-docblock

@method static ArmorMaterial CHAINMAIL() @method static ArmorMaterial DIAMOND() @method static ArmorMaterial GOLD() @method static ArmorMaterial IRON() @method static ArmorMaterial LEATHER() @method static ArmorMaterial NETHERITE() @method static ArmorMaterial TURTLE()

Definition at line 49 of file VanillaArmorMaterials.php.

Member Function Documentation

◆ getAll()

static pocketmine\item\VanillaArmorMaterials::getAll ( )
static
Returns
ArmorMaterial[] @phpstan-return array<string, ArmorMaterial>

Definition at line 64 of file VanillaArmorMaterials.php.

◆ register()

static pocketmine\item\VanillaArmorMaterials::register ( string  $name,
ArmorMaterial  $armorMaterial 
)
staticprotected

Definition at line 56 of file VanillaArmorMaterials.php.

◆ setup()

static pocketmine\item\VanillaArmorMaterials::setup ( )
staticprotected

Definition at line 71 of file VanillaArmorMaterials.php.


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