Skip to content

ItemFlags ​

final class · pocketmine\item\enchantment\ItemFlags · source

Deprecated

This class is deprecated.

Constants ​

ALL ​

php
public const ALL = 0xffff

ARMOR ​

php
public const ARMOR = self::HEAD | self::TORSO | self::LEGS | self::FEET

AXE ​

php
public const AXE = 0x200

BOW ​

php
public const BOW = 0x20

CARROT_STICK ​

php
public const CARROT_STICK = 0x2000

DIG ​

php
public const DIG = self::AXE | self::PICKAXE | self::SHOVEL

ELYTRA ​

php
public const ELYTRA = 0x4000

FEET ​

php
public const FEET = 0x8

FISHING_ROD ​

php
public const FISHING_ROD = 0x1000

FLINT_AND_STEEL ​

php
public const FLINT_AND_STEEL = 0x100

HEAD ​

php
public const HEAD = 0x1

HOE ​

php
public const HOE = 0x40

LEGS ​

php
public const LEGS = 0x4

NONE ​

php
public const NONE = 0x0

PICKAXE ​

php
public const PICKAXE = 0x400

SHEARS ​

php
public const SHEARS = 0x80

SHOVEL ​

php
public const SHOVEL = 0x800

SWORD ​

php
public const SWORD = 0x10

TOOL ​

php
public const TOOL = self::HOE | self::SHEARS | self::FLINT_AND_STEEL

TORSO ​

php
public const TORSO = 0x2

TRIDENT ​

php
public const TRIDENT = 0x8000

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