Class VoxelBufferView<T>

java.lang.Object
com.hypixel.hytale.builtin.hytalegenerator.engine.views.VoxelBufferView<T>
All Implemented Interfaces:
VoxelSpace<T>

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

  • Method Details

    • copyFrom

      public void copyFrom(@Nonnull VoxelBufferView<T> source)
    • 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_voxelGrid)
      Specified by:
      set in interface VoxelSpace<T>
    • setAll

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

      @Nullable 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_voxelGrid)
      Specified by:
      get in interface VoxelSpace<T>
    • getBounds

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