mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
names were fixed, ->loop->stop();
This commit is contained in:
parent
50006a0189
commit
f6897cf862
242 changed files with 111 additions and 166 deletions
16
src/material/block/solid/PlanksBlock.php
Normal file
16
src/material/block/solid/PlanksBlock.php
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
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