public interface SlideConfig
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    of(double target, int size, int offset)
     
    int
    The offset of the affected area from the top or bottom of the world respectively.
    int
    The size of the affected area.
    double
    The target value of the curve.
  • Method Details

    • of

      static SlideConfig of(double target, int size, int offset)
    • target

      double target()
      The target value of the curve.

      See NoiseConfig.topConfig() and NoiseConfig.bottomConfig() for its effect.

      Higher values produce larger effects.

      Returns:
      the target value
    • size

      int size()
      The size of the affected area.
      Returns:
      the size
    • offset

      int offset()
      The offset of the affected area from the top or bottom of the world respectively.
      Returns:
      the offset