public void FillBlock(BlockState block) { _blocks.Fill(BlockPalette.IdForBlock(block)); if (block == AirBlock) { IsEmpty = true; } else { IsEmpty = false; } }