Added missing properties for several blocks

This commit is contained in:
Dylan K. Taylor
2017-12-13 16:28:21 +00:00
parent 717b36a983
commit 6e30d23254
15 changed files with 113 additions and 0 deletions

View File

@ -23,6 +23,8 @@ declare(strict_types=1);
namespace pocketmine\block;
use pocketmine\item\TieredTool;
class StonePressurePlate extends Transparent{
protected $id = self::STONE_PRESSURE_PLATE;
@ -46,4 +48,12 @@ class StonePressurePlate extends Transparent{
public function getVariantBitmask() : int{
return 0;
}
public function getToolType() : int{
return BlockToolType::TYPE_PICKAXE;
}
public function getToolHarvestLevel() : int{
return TieredTool::TIER_WOODEN;
}
}