Interface ReplaceBlockConfiguration
- 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 TypeMethodDescriptionbuilder()Creates a new builder.static ReplaceBlockConfigurationof(List<OreConfiguration.TargetBlockState> targetStates) Creates a new replacement block configuration.A list of targets.Converts 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
@AsOf("3.0.0") static ReplaceBlockConfiguration of(List<OreConfiguration.TargetBlockState> targetStates) 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
-