Added some new blocks, fixed collisions not being detected when standing on top of a full block

This commit is contained in:
Dylan K. Taylor
2017-08-18 13:58:05 +01:00
parent 41f5cba971
commit f73d3d086e
6 changed files with 187 additions and 21 deletions

View File

@ -28,20 +28,10 @@ use pocketmine\item\Tool;
class NetherBrick extends Solid{
protected $id = self::NETHER_BRICK_BLOCK;
public function __construct(int $meta = 0){
$this->meta = $meta;
}
public function getToolType() : int{
return Tool::TYPE_PICKAXE;
}
public function getName() : string{
return "Nether Bricks";
}
public function getHardness() : float{
return 2;
}