public Block GetBlock(int x, int y, int z) { if (InRange(x) && InRange(y) && InRange(z)) { if (blocks.Get(x, y, z) == null) { return(airdefault); } else { return(blocks.Get(x, y, z)); } } return(world.GetBlock(pos.x + x, pos.y + y, pos.z + z)); }