Class ArrayVoxelSpace<T>

java.lang.Object
com.hypixel.hytale.builtin.hytalegenerator.voxelspace.ArrayVoxelSpace<T>
All Implemented Interfaces:
VoxelSpace<T>

public class ArrayVoxelSpace<T> extends Object implements VoxelSpace<T>
  • Constructor Details

    • ArrayVoxelSpace

      public ArrayVoxelSpace(@Nonnull Bounds3i bounds)
  • Method Details

    • offset

      public void offset(@Nonnull org.joml.Vector3i vector)
    • offsetOpposite

      public void offsetOpposite(@Nonnull org.joml.Vector3i vector)
    • set

      public void set(T content, int x, int y, int z)
      Specified by:
      set in interface VoxelSpace<T>
    • set

      public void set(T content, @Nonnull org.joml.Vector3i position)
      Specified by:
      set in interface VoxelSpace<T>
    • setAll

      public void setAll(T content)
      Specified by:
      setAll in interface VoxelSpace<T>
    • get

      public T get(int x, int y, int z)
      Specified by:
      get in interface VoxelSpace<T>
    • get

      @Nullable public T get(@Nonnull org.joml.Vector3i position)
      Specified by:
      get in interface VoxelSpace<T>
    • getBounds

      @Nonnull public Bounds3i getBounds()
      Specified by:
      getBounds in interface VoxelSpace<T>