Class NullSpace<V>

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

public class NullSpace<V> extends Object implements VoxelSpace<V>
  • Method Details

    • instance

      @Nonnull public static <V> NullSpace<V> instance()
    • instance

      @Nonnull public static <V> NullSpace<V> instance(@Nonnull Class<V> clazz)
    • set

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

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

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

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

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

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