Added more Wood stairs, and planks

This commit is contained in:
Shoghi Cervantes 2013-11-23 15:51:09 +01:00
parent de98dd920b
commit 5fa6c5962e
9 changed files with 132 additions and 4 deletions

View file

@ -22,6 +22,13 @@
class PlanksBlock extends SolidBlock{
public function __construct($meta = 0){
parent::__construct(PLANKS, $meta, "Wooden Planks");
$names = array(
WoodBlock::OAK => "Oak Wooden Planks",
WoodBlock::SPRUCE => "Spruce Wooden Planks",
WoodBlock::BIRCH => "Birch Wooden Planks",
WoodBlock::JUNGLE => "Jungle Wooden Planks",
);
$this->name = $names[$this->meta & 0x03];
$this->hardness = 15;
}