first look at a giant static interface for block fetching

This commit is contained in:
Dylan K. Taylor
2019-07-06 17:29:40 +01:00
parent 119cb083bf
commit 4d7c18f65b
58 changed files with 2732 additions and 198 deletions

View File

@@ -89,7 +89,7 @@ class SnowLayer extends Flowable implements Fallable{
public function onRandomTick() : void{
if($this->world->getBlockLightAt($this->x, $this->y, $this->z) >= 12){
$this->getWorld()->setBlock($this, BlockFactory::get(BlockLegacyIds::AIR), false);
$this->getWorld()->setBlock($this, VanillaBlocks::AIR(), false);
}
}