PocketMine-MP 5.15.1 git-5ef247620a7c6301a849b54e5ef1009217729fc8
pocketmine\block\BlockToolType Class Reference
+ Collaboration diagram for pocketmine\block\BlockToolType:

Public Attributes

const AXE = 1 << 3
 
const HOE = 1 << 5
 
const NONE = 0
 
const PICKAXE = 1 << 2
 
const SHEARS = 1 << 4
 
const SHOVEL = 1 << 1
 
const SWORD = 1 << 0
 

Detailed Description

Types of tools that can be used to break blocks Blocks may allow multiple tool types by combining these bitflags

Definition at line 30 of file BlockToolType.php.

Member Data Documentation

◆ AXE

const pocketmine\block\BlockToolType::AXE = 1 << 3

Definition at line 40 of file BlockToolType.php.

◆ HOE

const pocketmine\block\BlockToolType::HOE = 1 << 5

Definition at line 42 of file BlockToolType.php.

◆ NONE

const pocketmine\block\BlockToolType::NONE = 0

Definition at line 36 of file BlockToolType.php.

◆ PICKAXE

const pocketmine\block\BlockToolType::PICKAXE = 1 << 2

Definition at line 39 of file BlockToolType.php.

◆ SHEARS

const pocketmine\block\BlockToolType::SHEARS = 1 << 4

Definition at line 41 of file BlockToolType.php.

◆ SHOVEL

const pocketmine\block\BlockToolType::SHOVEL = 1 << 1

Definition at line 38 of file BlockToolType.php.

◆ SWORD

const pocketmine\block\BlockToolType::SWORD = 1 << 0

Definition at line 37 of file BlockToolType.php.


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