Пример #1
0
 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;
 }
Пример #2
0
 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;
 }
Пример #3
0
 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;
 }
Пример #4
0
 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;
 }
Пример #5
0
 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;
 }
Пример #6
0
 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;
 }
Пример #7
0
 public function __construct()
 {
     parent::__construct(self::EMERALD_BLOCK, 0, "Emerald Block");
     $this->hardness = 30;
 }
Пример #8
0
 public function __construct()
 {
     parent::__construct(self::BEDROCK, 0, "Bedrock");
     $this->breakable = false;
     $this->hardness = 18000000;
 }
Пример #9
0
 public function __construct()
 {
     parent::__construct(self::HARDENED_CLAY, 0, "Hardened Clay");
     $this->hardness = 30;
 }
Пример #10
0
 public function __construct()
 {
     parent::__construct(self::PUMPKIN, "Pumpkin");
     $this->hardness = 5;
 }
Пример #11
0
 public function __construct()
 {
     parent::__construct(self::REDSTONE_ORE, 0, "Redstone Ore");
     $this->hardness = 15;
 }
Пример #12
0
 public function __construct()
 {
     parent::__construct(self::MONSTER_SPAWNER, 0, "Monster Spawner");
     $this->hardness = 25;
 }
Пример #13
0
 public function __construct()
 {
     parent::__construct(self::GOLD_BLOCK, 0, "Gold Block");
     $this->hardness = 30;
 }
Пример #14
0
 public function __construct()
 {
     parent::__construct(self::END_STONE, 0, "End Stone");
     $this->hardness = 45;
 }
Пример #15
0
 public function __construct($meta = 0)
 {
     parent::__construct(self::FARMLAND, $meta, "Farmland");
     $this->hardness = 3;
 }
Пример #16
0
 public function __construct()
 {
     parent::__construct(self::IRON_BLOCK, 0, "Iron Block");
     $this->hardness = 30;
 }
Пример #17
0
 public function __construct()
 {
     parent::__construct(self::NETHERRACK, 0, "Netherrack");
     $this->hardness = 2;
 }
Пример #18
0
 public function __construct()
 {
     parent::__construct(self::TNT, 0, "TNT");
     $this->hardness = 0;
     $this->isActivable = true;
 }
Пример #19
0
 public function __construct()
 {
     parent::__construct(self::OBSIDIAN, 0, "Obsidian");
     $this->hardness = 6000;
 }
Пример #20
0
 public function __construct()
 {
     parent::__construct(self::EMERALD_ORE, 0, "Emerald Ore");
     $this->hardness = 15;
 }
Пример #21
0
 public function __construct()
 {
     parent::__construct(self::GLOWING_REDSTONE_ORE, 0, "Glowing Redstone Ore");
     $this->hardness = 15;
 }
Пример #22
0
 public function __construct()
 {
     parent::__construct(self::NETHER_BRICKS, 0, "Nether Bricks");
     $this->hardness = 30;
 }
Пример #23
0
 public function __construct()
 {
     parent::__construct(self::DIAMOND_BLOCK, 0, "Diamond Block");
     $this->hardness = 30;
 }
Пример #24
0
 public function __construct()
 {
     parent::__construct(self::MYCELIUM, 0, "Mycelium");
     $this->hardness = 2.5;
 }
Пример #25
0
 public function __construct()
 {
     parent::__construct(self::DIAMOND_ORE, 0, "Diamond Ore");
     $this->hardness = 15;
 }
Пример #26
0
 public function __construct($meta = 0)
 {
     parent::__construct(self::END_PORTAL, $meta, "End Portal");
     $this->hardness = 18000000;
 }
Пример #27
0
 public function __construct()
 {
     parent::__construct(self::CLAY_BLOCK, 0, "Clay Block");
     $this->hardness = 3;
 }
Пример #28
0
 public function __construct($meta = 0)
 {
     parent::__construct(self::HAY_BALE, $meta, "Hay Bale");
     $this->hardness = 10;
 }
Пример #29
0
 public function __construct($meta = 0)
 {
     parent::__construct(self::MOSS_STONE, $meta, "Moss Stone");
     $this->hardness = 30;
 }
Пример #30
0
 public function __construct()
 {
     parent::__construct(self::IRON_ORE, 0, "Iron Ore");
     $this->hardness = 15;
 }