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
|
|
@ -23,13 +23,15 @@ class WoodBlock extends SolidBlock{
|
|||
const OAK = 0;
|
||||
const SPRUCE = 1;
|
||||
const BIRCH = 2;
|
||||
const JUNGLE = 3;
|
||||
|
||||
public function __construct($meta = 0){
|
||||
parent::__construct(WOOD, $meta, "Wood");
|
||||
$names = array(
|
||||
WoodBlock::OAK => "Oak Wood",
|
||||
WoodBlock::SPRUCE => "Spruce Wood",
|
||||
WoodBlock::BIRCH => "Birch Wood",
|
||||
3 => "Jungle Wood",
|
||||
WoodBlock::JUNGLE => "Jungle Wood",
|
||||
);
|
||||
$this->name = $names[$this->meta & 0x03];
|
||||
$this->hardness = 10;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue