Interface LayerConfiguration
- All Superinterfaces:
FeatureConfiguration, Wrapper
A technical feature that fills all air blocks in a 16×1×16 layer with a specified block.
Used in vanilla in superflat worlds.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface FeatureConfiguration
NONE -
Method Summary
Modifier and TypeMethodDescriptionstatic LayerConfiguration.Builderbuilder()Creates a new builder.intheight()The layer to fill, starting at the bottom of the world between 0 and 4064.static LayerConfigurationCreates a new layer configuration.state()The block to fill the layer with.default LayerConfiguration.BuilderConverts this object back to a builder.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
height
The layer to fill, starting at the bottom of the world between 0 and 4064.- Returns:
- the layer to fill
- Since:
- 3.0.0
-
state
-
toBuilder
Converts this object back to a builder.- Returns:
- a builder with the same values as this object
- Since:
- 3.0.0
-
of
Creates a new layer configuration.- Parameters:
height- the layer to fill, starting at the bottom of the world between 0 and 4064state- the block to fill the layer with- Returns:
- a new layer configuration
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-