Interface GeodeLayerSettings

All Superinterfaces:
Wrapper

@NullMarked @AsOf("3.0.0") public interface GeodeLayerSettings extends Wrapper
The thickness of each layer of a geode. Units are non-linear; larger values generate larger geodes, and values smaller than 0.01 may produce unexpectedly large geodes.
Since:
3.0.0
See Also:
  • Method Details

    • filling

      @AsOf("3.0.0") double filling()
      The thickness of the filling layer. Value between 0.01 and 50.0.
      Returns:
      the filling layer thickness
      Since:
      3.0.0
    • innerLayer

      @AsOf("3.0.0") double innerLayer()
      The thickness of the inner layer. Value between 0.01 and 50.0.
      Returns:
      the inner layer thickness
      Since:
      3.0.0
    • middleLayer

      @AsOf("3.0.0") double middleLayer()
      The thickness of the middle layer. Value between 0.01 and 50.0.
      Returns:
      the middle layer thickness
      Since:
      3.0.0
    • outerLayer

      @AsOf("3.0.0") double outerLayer()
      The thickness of the outer layer. Value between 0.01 and 50.0.
      Returns:
      the outer layer thickness
      Since:
      3.0.0
    • toBuilder

      @AsOf("3.0.0") default GeodeLayerSettings.Builder toBuilder()
      Converts this object back to a builder.
      Returns:
      a builder with the same values as this object
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static GeodeLayerSettings of(double filling, double innerLayer, double middleLayer, double outerLayer)
      Creates a new geode layer settings.
      Parameters:
      filling - the thickness of the filling layer
      innerLayer - the thickness of the inner layer
      middleLayer - the thickness of the middle layer
      outerLayer - the thickness of the outer layer
      Returns:
      a new geode layer settings
      Since:
      3.0.0
    • builder

      @AsOf("3.0.0") static GeodeLayerSettings.Builder builder()
      Creates a new builder.
      Returns:
      a new builder
      Since:
      3.0.0
    • decode

      @Internal static GeodeLayerSettings decode(Object minecraftSettings)