Skip to content

BlockToolType ​

final class · pocketmine\block\BlockToolType · source

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

Constants ​

AXE ​

php
public const AXE = 1 << 3

HOE ​

php
public const HOE = 1 << 5

NONE ​

php
public const NONE = 0

PICKAXE ​

php
public const PICKAXE = 1 << 2

SHEARS ​

php
public const SHEARS = 1 << 4

SHOVEL ​

php
public const SHOVEL = 1 << 1

SWORD ​

php
public const SWORD = 1 << 0

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