PocketMine-MP 5.14.2 git-50e2c469a547a16a23b2dc691e70a51d34e29395
pocketmine\item\enchantment\ItemFlags Class Reference
+ Collaboration diagram for pocketmine\item\enchantment\ItemFlags:

Public Attributes

const ALL = 0xffff
 
const ARMOR = self::HEAD | self::TORSO | self::LEGS | self::FEET
 
const AXE = 0x200
 
const BOW = 0x20
 
const CARROT_STICK = 0x2000
 
const DIG = self::AXE | self::PICKAXE | self::SHOVEL
 
const ELYTRA = 0x4000
 
const FEET = 0x8
 
const FISHING_ROD = 0x1000
 
const FLINT_AND_STEEL = 0x100
 
const HEAD = 0x1
 
const HOE = 0x40
 
const LEGS = 0x4
 
const NONE = 0x0
 
const PICKAXE = 0x400
 
const SHEARS = 0x80
 
const SHOVEL = 0x800
 
const SWORD = 0x10
 
const TOOL = self::HOE | self::SHEARS | self::FLINT_AND_STEEL
 
const TORSO = 0x2
 
const TRIDENT = 0x8000
 

Detailed Description

Deprecated:

Definition at line 27 of file ItemFlags.php.

Member Data Documentation

◆ ALL

const pocketmine\item\enchantment\ItemFlags::ALL = 0xffff

Definition at line 34 of file ItemFlags.php.

◆ ARMOR

const pocketmine\item\enchantment\ItemFlags::ARMOR = self::HEAD | self::TORSO | self::LEGS | self::FEET

Definition at line 35 of file ItemFlags.php.

◆ AXE

const pocketmine\item\enchantment\ItemFlags::AXE = 0x200

Definition at line 47 of file ItemFlags.php.

◆ BOW

const pocketmine\item\enchantment\ItemFlags::BOW = 0x20

Definition at line 41 of file ItemFlags.php.

◆ CARROT_STICK

const pocketmine\item\enchantment\ItemFlags::CARROT_STICK = 0x2000

Definition at line 51 of file ItemFlags.php.

◆ DIG

const pocketmine\item\enchantment\ItemFlags::DIG = self::AXE | self::PICKAXE | self::SHOVEL

Definition at line 46 of file ItemFlags.php.

◆ ELYTRA

const pocketmine\item\enchantment\ItemFlags::ELYTRA = 0x4000

Definition at line 52 of file ItemFlags.php.

◆ FEET

const pocketmine\item\enchantment\ItemFlags::FEET = 0x8

Definition at line 39 of file ItemFlags.php.

◆ FISHING_ROD

const pocketmine\item\enchantment\ItemFlags::FISHING_ROD = 0x1000

Definition at line 50 of file ItemFlags.php.

◆ FLINT_AND_STEEL

const pocketmine\item\enchantment\ItemFlags::FLINT_AND_STEEL = 0x100

Definition at line 45 of file ItemFlags.php.

◆ HEAD

const pocketmine\item\enchantment\ItemFlags::HEAD = 0x1

Definition at line 36 of file ItemFlags.php.

◆ HOE

const pocketmine\item\enchantment\ItemFlags::HOE = 0x40

Definition at line 43 of file ItemFlags.php.

◆ LEGS

const pocketmine\item\enchantment\ItemFlags::LEGS = 0x4

Definition at line 38 of file ItemFlags.php.

◆ NONE

const pocketmine\item\enchantment\ItemFlags::NONE = 0x0

Definition at line 33 of file ItemFlags.php.

◆ PICKAXE

const pocketmine\item\enchantment\ItemFlags::PICKAXE = 0x400

Definition at line 48 of file ItemFlags.php.

◆ SHEARS

const pocketmine\item\enchantment\ItemFlags::SHEARS = 0x80

Definition at line 44 of file ItemFlags.php.

◆ SHOVEL

const pocketmine\item\enchantment\ItemFlags::SHOVEL = 0x800

Definition at line 49 of file ItemFlags.php.

◆ SWORD

const pocketmine\item\enchantment\ItemFlags::SWORD = 0x10

Definition at line 40 of file ItemFlags.php.

◆ TOOL

const pocketmine\item\enchantment\ItemFlags::TOOL = self::HOE | self::SHEARS | self::FLINT_AND_STEEL

Definition at line 42 of file ItemFlags.php.

◆ TORSO

const pocketmine\item\enchantment\ItemFlags::TORSO = 0x2

Definition at line 37 of file ItemFlags.php.

◆ TRIDENT

const pocketmine\item\enchantment\ItemFlags::TRIDENT = 0x8000

Definition at line 53 of file ItemFlags.php.


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