public function __construct($meta = 0) { parent::__construct(self::STONE_BRICKS, $meta, "Stone Bricks"); $names = [0 => "Stone Bricks", 1 => "Mossy Stone Bricks", 2 => "Cracked Stone Bricks", 3 => "Chiseled Stone Bricks"]; $this->name = $names[$this->meta & 0x3]; $this->hardness = 30; }
public function __construct($meta = 0) { parent::__construct(self::STAINED_CLAY, $meta, "Stained Clay"); $names = [0 => "White Stained Clay", 1 => "Orange Stained Clay", 2 => "Magenta Stained Clay", 3 => "Light Blue Stained Clay", 4 => "Yellow Stained Clay", 5 => "Lime Stained Clay", 6 => "Pink Stained Clay", 7 => "Gray Stained Clay", 8 => "Light Gray Stained Clay", 9 => "Cyan Stained Clay", 10 => "Purple Stained Clay", 11 => "Blue Stained Clay", 12 => "Brown Stained Clay", 13 => "Green Stained Clay", 14 => "Red Stained Clay", 15 => "Black Stained Clay"]; $this->name = $names[$this->meta]; $this->hardness = 30; }
public function __construct($meta = 0) { parent::__construct(self::WOOD, $meta, "Wood"); $names = [self::OAK => "Oak Wood", self::SPRUCE => "Spruce Wood", self::BIRCH => "Birch Wood", self::JUNGLE => "Jungle Wood"]; $this->name = $names[$this->meta & 0x3]; $this->hardness = 10; }
public function __construct($meta = 0) { parent::__construct(self::DOUBLE_SLAB, $meta, "Double Slab"); $names = [0 => "Stone", 1 => "Sandstone", 2 => "Wooden", 3 => "Cobblestone", 4 => "Brick", 5 => "Stone Brick", 6 => "Quartz", 7 => ""]; $this->name = "Double " . $names[$this->meta & 0x7] . " Slab"; $this->hardness = 30; }
public function __construct($meta = 0) { parent::__construct(self::SANDSTONE, $meta, "Sandstone"); $names = [0 => "Sandstone", 1 => "Chiseled Sandstone", 2 => "Smooth Sandstone"]; $this->name = $names[$this->meta & 0x3]; $this->hardness = 4; }
public function __construct($meta = 0) { parent::__construct(self::DOUBLE_WOOD_SLAB, $meta, "Double Wooden Slab"); $names = [0 => "Oak", 1 => "Spruce", 2 => "Birch", 3 => "Jungle", 4 => "Acacia", 5 => "Dark Oak"]; $this->name = "Double " . $names[$this->meta & 0x7] . " Wooden Slab"; $this->hardness = 15; }
public function __construct() { parent::__construct(self::EMERALD_BLOCK, 0, "Emerald Block"); $this->hardness = 30; }
public function __construct() { parent::__construct(self::BEDROCK, 0, "Bedrock"); $this->breakable = false; $this->hardness = 18000000; }
public function __construct() { parent::__construct(self::HARDENED_CLAY, 0, "Hardened Clay"); $this->hardness = 30; }
public function __construct() { parent::__construct(self::PUMPKIN, "Pumpkin"); $this->hardness = 5; }
public function __construct() { parent::__construct(self::REDSTONE_ORE, 0, "Redstone Ore"); $this->hardness = 15; }
public function __construct() { parent::__construct(self::MONSTER_SPAWNER, 0, "Monster Spawner"); $this->hardness = 25; }
public function __construct() { parent::__construct(self::GOLD_BLOCK, 0, "Gold Block"); $this->hardness = 30; }
public function __construct() { parent::__construct(self::END_STONE, 0, "End Stone"); $this->hardness = 45; }
public function __construct($meta = 0) { parent::__construct(self::FARMLAND, $meta, "Farmland"); $this->hardness = 3; }
public function __construct() { parent::__construct(self::IRON_BLOCK, 0, "Iron Block"); $this->hardness = 30; }
public function __construct() { parent::__construct(self::NETHERRACK, 0, "Netherrack"); $this->hardness = 2; }
public function __construct() { parent::__construct(self::TNT, 0, "TNT"); $this->hardness = 0; $this->isActivable = true; }
public function __construct() { parent::__construct(self::OBSIDIAN, 0, "Obsidian"); $this->hardness = 6000; }
public function __construct() { parent::__construct(self::EMERALD_ORE, 0, "Emerald Ore"); $this->hardness = 15; }
public function __construct() { parent::__construct(self::GLOWING_REDSTONE_ORE, 0, "Glowing Redstone Ore"); $this->hardness = 15; }
public function __construct() { parent::__construct(self::NETHER_BRICKS, 0, "Nether Bricks"); $this->hardness = 30; }
public function __construct() { parent::__construct(self::DIAMOND_BLOCK, 0, "Diamond Block"); $this->hardness = 30; }
public function __construct() { parent::__construct(self::MYCELIUM, 0, "Mycelium"); $this->hardness = 2.5; }
public function __construct() { parent::__construct(self::DIAMOND_ORE, 0, "Diamond Ore"); $this->hardness = 15; }
public function __construct($meta = 0) { parent::__construct(self::END_PORTAL, $meta, "End Portal"); $this->hardness = 18000000; }
public function __construct() { parent::__construct(self::CLAY_BLOCK, 0, "Clay Block"); $this->hardness = 3; }
public function __construct($meta = 0) { parent::__construct(self::HAY_BALE, $meta, "Hay Bale"); $this->hardness = 10; }
public function __construct($meta = 0) { parent::__construct(self::MOSS_STONE, $meta, "Moss Stone"); $this->hardness = 30; }
public function __construct() { parent::__construct(self::IRON_ORE, 0, "Iron Ore"); $this->hardness = 15; }