Inheritance: extends Solid
Example #1
0
 public function __construct()
 {
     parent::__construct(self::GRAVEL, 0, "Gravel");
     $this->hardness = 3;
 }
 public function place(Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null)
 {
     parent::place($item, $block, $target, $face, $fx, $fy, $fz, $player);
     $this->getLevel()->addSound(new AnvilFallSound($this));
 }