Interface GeodeLayerSettings
- All Superinterfaces:
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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic GeodeLayerSettings.Builderbuilder()Creates a new builder.static GeodeLayerSettingsdoublefilling()The thickness of the filling layer.doubleThe thickness of the inner layer.doubleThe thickness of the middle layer.static GeodeLayerSettingsof(double filling, double innerLayer, double middleLayer, double outerLayer) Creates a new geode layer settings.doubleThe thickness of the outer layer.default GeodeLayerSettings.BuilderConverts this object back to a builder.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
filling
The thickness of the filling layer. Value between 0.01 and 50.0.- Returns:
- the filling layer thickness
- Since:
- 3.0.0
-
innerLayer
The thickness of the inner layer. Value between 0.01 and 50.0.- Returns:
- the inner layer thickness
- Since:
- 3.0.0
-
middleLayer
The thickness of the middle layer. Value between 0.01 and 50.0.- Returns:
- the middle layer thickness
- Since:
- 3.0.0
-
outerLayer
The thickness of the outer layer. Value between 0.01 and 50.0.- Returns:
- the outer layer thickness
- Since:
- 3.0.0
-
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 layerinnerLayer- the thickness of the inner layermiddleLayer- the thickness of the middle layerouterLayer- the thickness of the outer layer- Returns:
- a new geode layer settings
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-
decode
-