mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
Added more Wood stairs, and planks
This commit is contained in:
parent
de98dd920b
commit
5fa6c5962e
9 changed files with 132 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue