Interface ReplaceBlockFeature
- All Superinterfaces:
FeatureConfiguration, Wrapper
A technical feature that replaces a single block using a list of targets and states.
Unused in vanilla.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface FeatureConfiguration
NONE -
Method Summary
Modifier and TypeMethodDescriptionstatic ReplaceBlockFeature.Builderbuilder()Creates a new builder.static ReplaceBlockFeatureof(List<OreFeature.TargetBlockState> targetStates) Creates a new replacement block configuration.A list of targets.default ReplaceBlockFeature.BuilderConverts this object back to a builder.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
targetStates
A list of targets. This can be empty.- Returns:
- the list of targets
- 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 replacement block configuration.- Parameters:
targetStates- the list of targets- Returns:
- a new replacement block configuration
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-