NostalgiaCore/src/material/block/solid/ClayBlock.php
2025-06-14 07:56:10 +03:00

17 lines
No EOL
344 B
PHP

<?php
class ClayBlock extends SolidBlock{
public static $blockID;
public function __construct(){
parent::__construct(CLAY_BLOCK, 0, "Clay Block");
$this->hardness = 3;
$this->breakTime = 0.6;
$this->material = Material::$clay;
}
public function getDrops(Item $item, Player $player){
return array(
array(CLAY, 0, 4),
);
}
}