java.lang.Object
com.hypixel.hytale.builtin.hytalegenerator.framework.shaders.SimpleShader<T>
All Implemented Interfaces:
Shader<T>

public class SimpleShader<T> extends Object implements Shader<T>
  • Field Details

    • value

      @Nonnull private final T value
  • Constructor Details

    • SimpleShader

      private SimpleShader(@Nonnull T value)
  • Method Details

    • of

      @Nonnull public static <T> SimpleShader<T> of(@Nonnull T value)
    • shade

      @Nonnull public T shade(T current, long seed)
      Specified by:
      shade in interface Shader<T>
    • shade

      @Nonnull public T shade(T current, long seedA, long seedB)
      Specified by:
      shade in interface Shader<T>
    • shade

      @Nonnull public T shade(T current, long seedA, long seedB, long seedC)
      Specified by:
      shade in interface Shader<T>
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object