Interface NetherForestVegetationConfig
- All Superinterfaces:
FeatureConfiguration, Wrapper
@NullMarked
@AsOf("3.0.0")
public interface NetherForestVegetationConfig
extends FeatureConfiguration
A feature that generates patches of surface vegetation in the crimson forest and warped forest biomes.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classBuilder forNetherForestVegetationConfig. -
Field Summary
Fields inherited from interface FeatureConfiguration
NONE -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new builder.static NetherForestVegetationConfigof(BlockStateProvider stateProvider, int spreadWidth, int spreadHeight) Creates a new nether forest vegetation configuration.intThe vertical distance to spread.intThe horizonal distance to spread to.The block to use.Converts this object back to a builder.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
stateProvider
The block to use.- Returns:
- the block state provider
- Since:
- 3.0.0
-
spreadWidth
The horizonal distance to spread to. The max width isspread_width * 2 -1. Must be a positive integer.- Returns:
- the spread width
- Since:
- 3.0.0
-
spreadHeight
The vertical distance to spread. The max height isspread_height * 2 -1. Must be a positive integer.- Returns:
- the spread height
- 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 NetherForestVegetationConfig of(BlockStateProvider stateProvider, int spreadWidth, int spreadHeight) Creates a new nether forest vegetation configuration.- Parameters:
stateProvider- the block state providerspreadWidth- the spread widthspreadHeight- the spread height- Returns:
- a new nether forest vegetation configuration
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-