mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
better break time checks, added block materials
This commit is contained in:
parent
71da620aa3
commit
625e9ca71f
143 changed files with 496 additions and 54 deletions
|
|
@ -4,7 +4,9 @@ class HayBaleBlock extends SolidBlock{
|
|||
public static $blockID;
|
||||
public function __construct($meta = 0){
|
||||
parent::__construct(HAY_BALE, $meta, "Hay Bale");
|
||||
$this->hardness = 10;
|
||||
$this->hardness = 2.5;
|
||||
$this->breakTime = 0.5;
|
||||
$this->material = Material::$dirt;
|
||||
}
|
||||
|
||||
public function place(Item $item, Player $player, Block $block, Block $target, $face, $fx, $fy, $fz){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue