ArmorTrimMaterialTypeIdMap 5.46.0
Methods
__construct()
php
public function __construct()fromId()
php
public function fromId(string $id) : ?\pocketmine\item\ArmorTrimMaterialfromItem()
php
public function fromItem(\pocketmine\item\Item $item) : ?\pocketmine\item\ArmorTrimMaterialgetAllMaterials()
php
public function getAllMaterials() : arrayregister()
php
public function register(string $stringId, \pocketmine\item\ArmorTrimMaterial $material) : voidtoId()
php
public function toId(\pocketmine\item\ArmorTrimMaterial $material) : string