Skip to content

ArmorTrimMaterialTypeIdMap 5.46.0 ​

final class · pocketmine\data\bedrock\ArmorTrimMaterialTypeIdMap · source

Methods ​

__construct() ​

php
public function __construct()

fromId() ​

php
public function fromId(string $id) : ?\pocketmine\item\ArmorTrimMaterial

fromItem() ​

php
public function fromItem(\pocketmine\item\Item $item) : ?\pocketmine\item\ArmorTrimMaterial

getAllMaterials() ​

php
public function getAllMaterials() : array

register() ​

php
public function register(string $stringId, \pocketmine\item\ArmorTrimMaterial $material) : void

toId() ​

php
public function toId(\pocketmine\item\ArmorTrimMaterial $material) : string

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.