Class GridUtils

java.lang.Object
com.hypixel.hytale.builtin.hytalegenerator.GridUtils

public class GridUtils extends Object
  • Constructor Details

    • GridUtils

      public GridUtils()
  • Method Details

    • createColumnBounds_voxelGrid

      @Nonnull public static Bounds3i createColumnBounds_voxelGrid(@Nonnull org.joml.Vector3i position_bufferGrid, int minY_voxelSpace, int maxY_voxelSpace)
    • createBufferBoundsInclusive_fromVoxelBounds

      @Nonnull public static Bounds3i createBufferBoundsInclusive_fromVoxelBounds(@Nonnull Bounds3i bounds_voxelGrid)
    • createColumnBounds_bufferGrid

      @Nonnull public static Bounds3i createColumnBounds_bufferGrid(@Nonnull org.joml.Vector3i position_bufferGrid, int minY_bufferGrid, int maxY_bufferGrid)
    • createChunkBounds_voxelGrid

      @Nonnull public static Bounds3i createChunkBounds_voxelGrid(int x_chunkGrid, int z_chunkGrid)
    • createUnitBounds3i

      @Nonnull public static Bounds3i createUnitBounds3i(@Nonnull org.joml.Vector3ic position)
    • createBounds_fromRadius_originVoxelInclusive

      @Nonnull public static Bounds3i createBounds_fromRadius_originVoxelInclusive(int radius)
    • createBounds_fromVector_originVoxelInclusive

      @Nonnull public static Bounds3i createBounds_fromVector_originVoxelInclusive(@Nonnull org.joml.Vector3i range)
    • createChunkBounds_bufferGrid

      @Nonnull public static Bounds3i createChunkBounds_bufferGrid(int x_chunkGrid, int z_chunkGrid)
    • toVoxelGrid_fromBufferGrid

      public static void toVoxelGrid_fromBufferGrid(@Nonnull Bounds3i bounds_bufferGrid)
    • toVoxelGrid_fromBufferGrid

      public static void toVoxelGrid_fromBufferGrid(@Nonnull org.joml.Vector3i position_voxelGrid)
    • toBufferGrid_fromVoxelGrid

      public static int toBufferGrid_fromVoxelGrid(int worldPosition_voxelGrid)
    • toBufferGrid_fromVoxelGrid

      public static void toBufferGrid_fromVoxelGrid(@Nonnull org.joml.Vector3i worldPosition_voxelGrid)
    • toBufferDistanceInclusive_fromVoxelDistance

      public static int toBufferDistanceInclusive_fromVoxelDistance(int distance_voxelGrid)
    • toIntegerGrid_fromDecimalGrid

      @Nonnull public static org.joml.Vector3i toIntegerGrid_fromDecimalGrid(@Nonnull org.joml.Vector3d worldPosition_decimalGrid)
    • toXVoxelGridInsideBuffer_fromWorldGrid

      public static int toXVoxelGridInsideBuffer_fromWorldGrid(int x_voxelGrid)
    • toYVoxelGridInsideBuffer_fromWorldGrid

      public static int toYVoxelGridInsideBuffer_fromWorldGrid(int y_voxelGrid)
    • toZVoxelGridInsideBuffer_fromWorldGrid

      public static int toZVoxelGridInsideBuffer_fromWorldGrid(int z_voxelGrid)
    • toVoxelGridInsideBuffer_fromWorldGrid

      public static void toVoxelGridInsideBuffer_fromWorldGrid(@Nonnull org.joml.Vector3i worldPosition_voxelGrid)
    • toIndexFromPositionYXZ

      public static int toIndexFromPositionYXZ(int x, int y, int z, @Nonnull Bounds3i bounds)
    • toIndexFromPositionYXZ

      public static int toIndexFromPositionYXZ(@Nonnull org.joml.Vector3i position, @Nonnull Bounds3i bounds)
    • setBoundsYToWorldHeight_bufferGrid

      @Nonnull public static Bounds3i setBoundsYToWorldHeight_bufferGrid(@Nonnull Bounds3i bounds_bufferGrid)
    • setBoundsYToWorldHeight_voxelGrid

      public static void setBoundsYToWorldHeight_voxelGrid(@Nonnull Bounds3i bounds_voxelGrid)
    • toVoxelPosition_fromChunkPosition

      public static void toVoxelPosition_fromChunkPosition(@Nonnull org.joml.Vector3i chunkPosition_voxelGrid)