mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
some new blocks
This commit is contained in:
parent
9b5a3959c4
commit
1a01483453
18 changed files with 395 additions and 9 deletions
|
|
@ -5,6 +5,8 @@ class SaplingBlock extends FlowableBlock{
|
|||
const SPRUCE = 1;
|
||||
const BIRCH = 2;
|
||||
const JUNGLE = 3;
|
||||
const ACACIA = 4;
|
||||
const DARK_OAK = 5;
|
||||
const BURN_TIME = 5;
|
||||
|
||||
public function __construct($meta = SaplingBlock::OAK){
|
||||
|
|
@ -15,6 +17,8 @@ class SaplingBlock extends FlowableBlock{
|
|||
1 => "Spruce Sapling",
|
||||
2 => "Birch Sapling",
|
||||
3 => "Jungle Sapling",
|
||||
4 => "Acacia Sapling",
|
||||
5 => "Dark Oak Sapling",
|
||||
);
|
||||
$this->name = $names[$this->meta & 0x03];
|
||||
$this->hardness = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue