water damage rewroked, small rotation changes

This commit is contained in:
GameHerobrine 2023-10-30 02:57:07 +03:00
parent adf84efbd7
commit 0dacbe0b36
5 changed files with 48 additions and 23 deletions

View file

@ -15,6 +15,13 @@ class LiquidBlock extends TransparentBlock{
$this->isFullBlock = true;
$this->hardness = 500;
}
public static function getPercentAir($meta){
if($meta >= 8) $meta = 0;
$f = ($meta + 1) / 9;
return $f;
}
public function getDrops(Item $item, Player $player){
return array();
}