decreased block updates per chunk from 80 to 20, PMFLevel block methods should be a bit faster now, grass spread rework, leaf decay fix

This commit is contained in:
GameHerobrine 2023-06-23 20:52:50 +03:00
parent 3dd9e38a37
commit 4544b7bb63
9 changed files with 73 additions and 60 deletions

View file

@ -10,7 +10,6 @@ class FireBlock extends FlowableBlock implements LightingBlock{
}
public static function onRandomTick(Level $level, $x, $y, $z){
console("Fire tick at $x $y $z");
if($level->level->getBlockID($x, $y - 1, $z) !== NETHERRACK){
$level->setBlock(new Position($x, $y, $z, $level), new AirBlock(), true, false, true);
}