Interface CanyonCarverConfiguration.CanyonShapeConfiguration
- All Superinterfaces:
Wrapper
- Enclosing interface:
CanyonCarverConfiguration
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classBuilder forCanyonCarverConfiguration.CanyonShapeConfiguration. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new builder.Reads a Minecraft canyon shape configuration.Gets the distance factor for the canyon shape.Gets the horizontal radius factor of the canyon shape.of(FloatProvider distanceFactor, FloatProvider thickness, int widthSmoothness, FloatProvider horizontalRadiusFactor, float verticalRadiusDefaultFactor, float verticalRadiusCenterFactor) Creates a new CanyonShapeConfiguration.Gets the thickness of the canyon shape.Converts this object back to a builder.floatGets the vertical radius center factor of the canyon shape.floatGets the vertical radius default factor of the canyon shape.intGets the width smoothness of the canyon shape.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
distanceFor
Gets the distance factor for the canyon shape.- Returns:
- the distance factor for the canyon shape
- Since:
- 3.0.0
-
thickness
Gets the thickness of the canyon shape.- Returns:
- the thickness of the canyon shape
- Since:
- 3.0.0
-
widthSmoothness
Gets the width smoothness of the canyon shape.- Returns:
- the width smoothness of the canyon shape
- Since:
- 3.0.0
-
horizontalRadiusFactor
Gets the horizontal radius factor of the canyon shape.- Returns:
- the horizontal radius factor of the canyon shape
- Since:
- 3.0.0
-
verticalRadiusDefaultFactor
Gets the vertical radius default factor of the canyon shape.- Returns:
- the vertical radius default factor of the canyon shape
- Since:
- 3.0.0
-
verticalRadiusCenterFactor
Gets the vertical radius center factor of the canyon shape.- Returns:
- the vertical radius center factor of the canyon shape
- 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 CanyonCarverConfiguration.CanyonShapeConfiguration of(FloatProvider distanceFactor, FloatProvider thickness, int widthSmoothness, FloatProvider horizontalRadiusFactor, float verticalRadiusDefaultFactor, float verticalRadiusCenterFactor) Creates a new CanyonShapeConfiguration.- Parameters:
distanceFactor- the distance factor for the canyon shapethickness- the thickness of the canyon shapewidthSmoothness- the width smoothness of the canyon shapehorizontalRadiusFactor- the horizontal radius factor of the canyon shapeverticalRadiusDefaultFactor- the vertical radius default factor of the canyon shapeverticalRadiusCenterFactor- the vertical radius center factor of the canyon shape- Returns:
- a new CanyonShapeConfiguration
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-
decode
@AsOf("3.3.0") static CanyonCarverConfiguration.CanyonShapeConfiguration decode(Object minecraftShape) Reads a Minecraft canyon shape configuration.- Parameters:
minecraftShape- the shape to read- Returns:
- the decoded shape
- Since:
- 3.3.0
-