mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
17 lines
No EOL
344 B
PHP
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),
|
|
);
|
|
}
|
|
} |