mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Block breaking part 1
This commit is contained in:
@ -32,6 +32,13 @@ abstract class Tool extends Item{
|
||||
const TIER_IRON = 4;
|
||||
const TIER_DIAMOND = 5;
|
||||
|
||||
const TYPE_NONE = 0;
|
||||
const TYPE_SWORD = 1;
|
||||
const TYPE_SHOVEL = 2;
|
||||
const TYPE_PICKAXE = 3;
|
||||
const TYPE_AXE = 4;
|
||||
const TYPE_SHEARS = 5;
|
||||
|
||||
public function __construct($id, $meta = 0, $count = 1, $name = "Unknown"){
|
||||
parent::__construct($id, $meta, $count, $name);
|
||||
}
|
||||
|
Reference in New Issue
Block a user