mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
static blockID for all blocks
This commit is contained in:
parent
205e432f52
commit
36be0211f9
109 changed files with 111 additions and 13 deletions
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
|
||||
class StoneWallBlock extends TransparentBlock{
|
||||
public static $blockID;
|
||||
//TODO collision box
|
||||
public function __construct($meta = 0){
|
||||
parent::__construct(STONE_WALL, $meta & 0x01, $meta === 1 ? "Mossy Cobblestone Wall" : "Cobblestone Wall");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue