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

public class GridUtils extends Object
  • 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

      public static void toBufferGrid_fromVoxelGridOverlap(@Nonnull Bounds3i bounds_voxelGrid)
    • createColumnBounds_voxelGrid

      @Nonnull public static Bounds3i createColumnBounds_voxelGrid(@Nonnull 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 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 Vector3i position)
    • createBounds_fromRadius_originVoxelInclusive

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

      @Nonnull public static Bounds3i createBounds_fromVector_originVoxelInclusive(@Nonnull 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 Vector3i position_voxelGrid)
    • toBufferGrid_fromVoxelGrid

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

      public static int toBufferDistanceInclusive_fromVoxelDistance(int distance_voxelGrid)
    • toIntegerGrid_fromDecimalGrid

      @Nonnull public static Vector3i toIntegerGrid_fromDecimalGrid(@Nonnull Vector3d worldPosition_decimalGrid)
    • toVoxelGridInsideBuffer_fromWorldGrid

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

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

      public static void 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 Vector3i chunkPosition_voxelGrid)