public Block GetBlock(RaycastHit hit, bool adjacent = false) { var pos = Coord3.RaycastToBlock(hit, adjacent); return(GetBlock(pos)); }
public ChunkSection PlaceBlock(RaycastHit hit, BlockData data, out Block block, bool adjacent = false) { var pos = Coord3.RaycastToBlock(hit, adjacent); return(PlaceBlock(pos, data, out block, true)); }