Interface TwistingVinesConfig
- All Superinterfaces:
FeatureConfiguration, Wrapper
Twisting vines configuration.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface FeatureConfiguration
NONE -
Method Summary
Modifier and TypeMethodDescriptionstatic TwistingVinesConfig.Builderbuilder()Creates a new builder.intThe maximum height of the vines.static TwistingVinesConfigof(int spreadWidth, int spreadHeight, int maxHeight) Creates a new instance of this configuration.intHow far out the vines can spread vertically.intHow far out the vines can spread.default TwistingVinesConfig.BuilderConverts this object back to a builder.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
spreadWidth
How far out the vines can spread.- Returns:
- spread width in blocks
- Since:
- 3.0.0
-
spreadHeight
How far out the vines can spread vertically.- Returns:
- spread height in blocks
- Since:
- 3.0.0
-
maxHeight
The maximum height of the vines.- Returns:
- maximum height in blocks
- Since:
- 3.0.0
-
toBuilder
Converts this object back to a builder.- Returns:
- a new builder with the same values as this object
- Since:
- 3.0.0
-
of
Creates a new instance of this configuration.- Parameters:
spreadWidth- spread width in blocksspreadHeight- spread height in blocksmaxHeight- maximum height in blocks- Returns:
- a new instance of this configuration
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-