better break time checks, added block materials

This commit is contained in:
GameHerobrine 2025-06-14 07:56:10 +03:00
parent 71da620aa3
commit 625e9ca71f
143 changed files with 496 additions and 54 deletions

View file

@ -11,6 +11,8 @@ class SandstoneBlock extends SolidBlock{
);
$this->name = $names[$this->meta & 0x03];
$this->hardness = 4;
$this->breakTime = 0.8;
$this->material = Material::$stone;
}
public function getBreakTime(Item $item, Player $player){