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

@ -5,6 +5,8 @@ class GlowstoneBlock extends TransparentBlock implements LightingBlock{
public function __construct(){
parent::__construct(GLOWSTONE_BLOCK, 0, "Glowstone");
$this->hardness = 1.5;
$this->breakTime = 0.3;
$this->material = Material::$glass;
}
public function getMaxLightValue(){