Class GridUtils
java.lang.Object
com.hypixel.hytale.builtin.hytalegenerator.newsystem.GridUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Bounds3icreateBounds_fromRadius_originVoxelInclusive(int radius) static Bounds3istatic Bounds3icreateBufferBoundsInclusive_fromVoxelBounds(Bounds3i bounds_voxelGrid) static Bounds3icreateChunkBounds_bufferGrid(int x_chunkGrid, int z_chunkGrid) static Bounds3icreateChunkBounds_voxelGrid(int x_chunkGrid, int z_chunkGrid) static Bounds3icreateColumnBounds_bufferGrid(Vector3i position_bufferGrid, int minY_bufferGrid, int maxY_bufferGrid) static Bounds3icreateColumnBounds_voxelGrid(Vector3i position_bufferGrid, int minY_voxelSpace, int maxY_voxelSpace) static Bounds3icreateUnitBounds3i(Vector3i position) static voidsetBoundsYToWorldHeight_bufferGrid(Bounds3i bounds_bufferGrid) static voidsetBoundsYToWorldHeight_voxelGrid(Bounds3i bounds_voxelGrid) static inttoBufferDistanceInclusive_fromVoxelDistance(int distance_voxelGrid) static voidtoBufferGrid_fromVoxelGrid(Vector3i worldPosition_voxelGrid) static voidtoBufferGrid_fromVoxelGridOverlap(Bounds3i bounds_voxelGrid) static inttoIndexFromPositionYXZ(Vector3i position, Bounds3i bounds) static Vector3itoIntegerGrid_fromDecimalGrid(Vector3d worldPosition_decimalGrid) static voidtoVoxelGrid_fromBufferGrid(Bounds3i bounds_bufferGrid) static voidtoVoxelGrid_fromBufferGrid(Vector3i position_voxelGrid) static voidtoVoxelGridInsideBuffer_fromWorldGrid(Vector3i worldPosition_voxelGrid) static voidtoVoxelPosition_fromChunkPosition(Vector3i chunkPosition_voxelGrid)
-
Field Details
-
BUFFER_COUNT_IN_CHUNK_Y
public static final int BUFFER_COUNT_IN_CHUNK_Y
-
-
Constructor Details
-
GridUtils
public GridUtils()
-
-
Method Details
-
toBufferGrid_fromVoxelGridOverlap
-
createColumnBounds_voxelGrid
-
createBufferBoundsInclusive_fromVoxelBounds
-
createColumnBounds_bufferGrid
-
createChunkBounds_voxelGrid
-
createUnitBounds3i
-
createBounds_fromRadius_originVoxelInclusive
-
createBounds_fromVector_originVoxelInclusive
-
createChunkBounds_bufferGrid
-
toVoxelGrid_fromBufferGrid
-
toVoxelGrid_fromBufferGrid
-
toBufferGrid_fromVoxelGrid
-
toBufferDistanceInclusive_fromVoxelDistance
public static int toBufferDistanceInclusive_fromVoxelDistance(int distance_voxelGrid) -
toIntegerGrid_fromDecimalGrid
-
toVoxelGridInsideBuffer_fromWorldGrid
-
toIndexFromPositionYXZ
-
setBoundsYToWorldHeight_bufferGrid
-
setBoundsYToWorldHeight_voxelGrid
-
toVoxelPosition_fromChunkPosition
-