public function __construct() { parent::__construct(COBWEB, 0, "Cobweb"); $this->isSolid = true; $this->isFullBlock = false; $this->hardness = 25; }
public function __construct($meta = Sapling::OAK) { parent::__construct(SAPLING, $meta, "Sapling"); $this->isActivable = true; $names = array(0 => "Oak Sapling", 1 => "Spruce Sapling", 2 => "Birch Sapling", 3 => "Jungle Sapling"); $this->name = $names[$this->meta & 0x3]; $this->hardness = 0; }
public function __construct($meta = 0) { parent::__construct(FIRE, $meta, "Fire"); $this->isReplaceable = true; $this->breakable = false; $this->isFullBlock = true; $this->hardness = 0; }
public function __construct($meta = 1) { parent::__construct(TALL_GRASS, $meta, "Tall Grass"); //$this->isReplaceable = true; $names = array(0 => "Dead Shrub", 1 => "Tall Grass", 2 => "Fern"); $this->name = $names[$this->meta & 0x3]; $this->hardness = 0; }
public function __construct($meta = 0) { parent::__construct(SNOW_LAYER, $meta, "Snow Layer"); $this->isReplaceable = true; $this->isSolid = false; $this->isFullBlock = false; $this->hardness = 0.5; }
public function __construct($meta = 0) { parent::__construct(CARPET, $meta, "Carpet"); $names = array(0 => "White Carpet", 1 => "Orange Carpet", 2 => "Magenta Carpet", 3 => "Light Blue Carpet", 4 => "Yellow Carpet", 5 => "Lime Carpet", 6 => "Pink Carpet", 7 => "Gray Carpet", 8 => "Light Gray Carpet", 9 => "Cyan Carpet", 10 => "Purple Carpet", 11 => "Blue Carpet", 12 => "Brown Carpet", 13 => "Green Carpet", 14 => "Red Carpet", 15 => "Black Carpet"); $this->name = $names[$this->meta]; $this->hardness = 0; $this->isFullBlock = false; $this->isSolid = true; }
public function __construct() { parent::__construct(DEAD_BUSH, 0, "Dead Bush"); //$this->isReplaceable = true; $this->hardness = 0; }
public function __construct() { parent::__construct(BROWN_MUSHROOM, 0, "Brown Mushroom"); $this->hardness = 0; }
public function __construct($meta = 0) { parent::__construct(POTATO_BLOCK, $meta, "Potato Block"); $this->isActivable = true; $this->hardness = 0; }
public function __construct($meta = 0) { parent::__construct(MELON_STEM, $meta, "Melon Stem"); $this->isActivable = true; $this->hardness = 0; }
public function __construct() { parent::__construct(CYAN_FLOWER, 0, "Cyan Flower"); $this->hardness = 0; }
public function __construct($meta = 0) { parent::__construct(PUMPKIN_STEM, $meta, "Pumpkin Stem"); $this->isActivable = true; $this->hardness = 0; }
public function __construct() { parent::__construct(DANDELION, 0, "Dandelion"); $this->hardness = 0; }
public function __construct($meta = 0) { parent::__construct(CARROT_BLOCK, $meta, "Carrot Block"); $this->isActivable = true; $this->hardness = 0; }
public function __construct($meta = 0) { parent::__construct(BEETROOT_BLOCK, $meta, "Beetroot Block"); $this->isActivable = true; $this->hardness = 0; }
public function __construct() { parent::__construct(RED_MUSHROOM, 0, "Red Mushroom"); $this->hardness = 0; }
public function __construct($meta = 0) { parent::__construct(SUGARCANE_BLOCK, $meta, "Sugarcane"); $this->hardness = 0; }
public function __construct($meta = 0) { parent::__construct(TORCH, $meta, "Torch"); $this->hardness = 0; }
public function __construct($meta = 0) { parent::__construct(WHEAT_BLOCK, $meta, "Wheat Block"); $this->isActivable = true; $this->hardness = 0; }