public bool TryGetBlock(Int3 position, out int block) { Int3 chunkPos = position.AlignedDown(16); if (chunks.TryGetValue(chunkPos, out var chunk)) { return(chunk.TryGetBlock(chunkPos, out block)); } else { block = 0; return(false); } }