Skip to content

ArmorInventory ​

class · pocketmine\inventory\ArmorInventory · source

Extends SimpleInventory

Constants ​

SLOT_CHEST ​

php
public const SLOT_CHEST = 1

SLOT_FEET ​

php
public const SLOT_FEET = 3

SLOT_HEAD ​

php
public const SLOT_HEAD = 0

SLOT_LEGS ​

php
public const SLOT_LEGS = 2

Properties ​

$holder ​

php
public \pocketmine\entity\Living $holder

Methods ​

__construct() ​

php
public function __construct(\pocketmine\entity\Living $holder)

getBoots() ​

php
public function getBoots() : \pocketmine\item\Item

getChestplate() ​

php
public function getChestplate() : \pocketmine\item\Item

getHelmet() ​

php
public function getHelmet() : \pocketmine\item\Item

getHolder() ​

php
public function getHolder() : \pocketmine\entity\Living

getLeggings() ​

php
public function getLeggings() : \pocketmine\item\Item

setBoots() ​

php
public function setBoots(\pocketmine\item\Item $boots) : void

setChestplate() ​

php
public function setChestplate(\pocketmine\item\Item $chestplate) : void

setHelmet() ​

php
public function setHelmet(\pocketmine\item\Item $helmet) : void

setLeggings() ​

php
public function setLeggings(\pocketmine\item\Item $leggings) : void

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