Example #1
0
 public function __construct($meta = 0)
 {
     parent::__construct(DOUBLE_SLAB, $meta, "Double Slab");
     $names = array(0 => "Stone", 1 => "Sandstone", 2 => "Wooden", 3 => "Cobblestone", 4 => "Brick", 5 => "Stone Brick", 6 => "Quartz");
     $this->name = "Double " . $names[$this->meta & 0x7] . " Slab";
     $this->hardness = 30;
 }
Example #2
0
 public function __construct($meta = 0)
 {
     parent::__construct(WOOL, $meta, "Wool");
     $names = array(0 => "White Wool", 1 => "Orange Wool", 2 => "Magenta Wool", 3 => "Light Blue Wool", 4 => "Yellow Wool", 5 => "Lime Wool", 6 => "Pink Wool", 7 => "Gray Wool", 8 => "Light Gray Wool", 9 => "Cyan Wool", 10 => "Purple Wool", 11 => "Blue Wool", 12 => "Brown Wool", 13 => "Green Wool", 14 => "Red Wool", 15 => "Black Wool");
     $this->name = $names[$this->meta];
     $this->hardness = 4;
 }
Example #3
0
 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 & 0x3];
     $this->hardness = 15;
 }
 public function __construct($meta = 0)
 {
     parent::__construct(DOUBLE_WOOD_SLAB, $meta, "Double Wooden Slab");
     $names = array(0 => "Oak", 1 => "Spruce", 2 => "Birch", 3 => "Jungle");
     $this->name = "Double " . $names[$this->meta & 0x7] . " Wooden Slab";
     $this->hardness = 15;
 }
Example #5
0
 public function __construct($meta = 0)
 {
     parent::__construct(STONE_BRICKS, $meta, "Stone Bricks");
     $names = array(0 => "Stone Bricks", 1 => "Mossy Stone Bricks", 2 => "Cracked Stone Bricks", 3 => "Chiseled Stone Bricks");
     $this->name = $names[$this->meta & 0x3];
     $this->hardness = 30;
 }
Example #6
0
 public function __construct()
 {
     parent::__construct(NETHER_BRICKS, 0, "Nether Bricks");
     $this->hardness = 30;
 }
Example #7
0
 public function __construct()
 {
     parent::__construct(BOOKSHELF, 0, "Bookshelf");
     $this->hardness = 7.5;
 }
Example #8
0
 public function __construct()
 {
     parent::__construct(SPONGE, "Sponge");
     $this->hardness = 3;
 }
Example #9
0
 public function __construct()
 {
     parent::__construct(CLAY_BLOCK, 0, "Clay Block");
     $this->hardness = 3;
 }
Example #10
0
 public function __construct()
 {
     parent::__construct(IRON_BLOCK, 0, "Iron Block");
     $this->hardness = 30;
 }
 public function __construct()
 {
     parent::__construct(GLOWING_REDSTONE_ORE, 0, "Glowing Redstone Ore");
     $this->hardness = 15;
 }
Example #12
0
 public function __construct()
 {
     parent::__construct(COBBLESTONE, 0, "Cobblestone");
     $this->hardness = 30;
 }
Example #13
0
 public function __construct()
 {
     parent::__construct(IRON_ORE, 0, "Iron Ore");
     $this->hardness = 15;
 }
Example #14
0
 public function __construct()
 {
     parent::__construct(BRICKS_BLOCK, 0, "Bricks");
     $this->hardness = 30;
 }
Example #15
0
 public function __construct()
 {
     parent::__construct(LIT_PUMPKIN, "Jack o'Lantern");
     $this->hardness = 5;
 }
Example #16
0
 public function __construct()
 {
     parent::__construct(DIAMOND_BLOCK, 0, "Diamond Block");
     $this->hardness = 30;
 }
Example #17
0
 public function __construct()
 {
     parent::__construct(PUMPKIN, "Pumpkin");
     $this->hardness = 5;
 }
Example #18
0
 public function __construct($meta = 0)
 {
     parent::__construct(WORKBENCH, $meta, "Crafting Table");
     $this->isActivable = true;
     $this->hardness = 15;
 }
Example #19
0
 public function __construct()
 {
     parent::__construct(GOLD_ORE, 0, "Gold Ore");
     $this->hardness = 15;
 }
Example #20
0
 public function __construct()
 {
     parent::__construct(NETHERRACK, 0, "Netherrack");
     $this->hardness = 2;
 }
Example #21
0
 public function __construct()
 {
     parent::__construct(REDSTONE_ORE, 0, "Redstone Ore");
     $this->hardness = 15;
 }
Example #22
0
 public function __construct($meta = 0)
 {
     parent::__construct(HAY_BALE, $meta, "Hay Bale");
     $this->hardness = 10;
 }
Example #23
0
 public function __construct()
 {
     parent::__construct(SNOW_BLOCK, 0, "Snow Block");
     $this->hardness = 1;
 }
Example #24
0
 public function __construct()
 {
     parent::__construct(OBSIDIAN, 0, "Obsidian");
     $this->hardness = 6000;
 }
Example #25
0
 public function __construct()
 {
     parent::__construct(GRASS, 0, "Grass");
     $this->isActivable = true;
     $this->hardness = 3;
 }
Example #26
0
 public function __construct()
 {
     parent::__construct(LAPIS_BLOCK, 0, "Lapis Block");
     $this->hardness = 15;
 }
Example #27
0
 public function __construct()
 {
     parent::__construct(COAL_ORE, 0, "Coal Ore");
     $this->hardness = 15;
 }
Example #28
0
 public function __construct()
 {
     parent::__construct(COAL_BLOCK, 0, "Coal Block");
     $this->hardness = 30;
 }
Example #29
0
 public function __construct()
 {
     parent::__construct(GOLD_BLOCK, 0, "Gold Block");
     $this->hardness = 30;
 }
Example #30
0
 public function __construct($meta = 0)
 {
     parent::__construct(NETHER_REACTOR, $meta, "Nether Reactor");
     $this->isActivable = true;
 }