Interface FossilFeature
- All Superinterfaces:
FeatureConfiguration, Wrapper
A fossil is a rarely-occurring skeletal feature composed of bone blocks, coal ore above Y=0, or diamond ore below Y=-8.
- Since:
- 3.3.0
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface FeatureConfiguration
NONE -
Method Summary
Modifier and TypeMethodDescriptionstatic FossilFeature.Builderbuilder()Creates a new builder.Gets the processors the fossil templates are run through.Gets the templates the fossil skeleton is stamped from.intGets the maximum number of empty corners allowed in the fossil feature configuration.static FossilFeatureof(List<StructureTemplate> fossilStructures, List<StructureTemplate> overlayStructures, ProcessorList fossilProcessors, ProcessorList overlayProcessors, int maxEmptyCornersAllowed) Creates a new instance ofFossilFeaturewith the specified parameters.Gets the processors the overlay templates are run through.Gets the templates layered over the fossil, one per fossil template.default FossilFeature.BuilderConverts this object back to a builder.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
fossilStructures
Gets the templates the fossil skeleton is stamped from.- Returns:
- the fossil templates
- Since:
- 3.3.0
-
overlayStructures
Gets the templates layered over the fossil, one per fossil template.- Returns:
- the overlay templates
- Since:
- 3.3.0
-
fossilProcessors
Gets the processors the fossil templates are run through.- Returns:
- the fossil processor list
- Since:
- 3.3.0
-
overlayProcessors
Gets the processors the overlay templates are run through.- Returns:
- the overlay processor list
- Since:
- 3.3.0
-
maxEmptyCornersAllowed
Gets the maximum number of empty corners allowed in the fossil feature configuration.- Returns:
- The maximum number of empty corners allowed.
- Since:
- 3.3.0
-
toBuilder
Converts this object back to a builder.- Returns:
- A new builder with these values
- Since:
- 3.3.0
-
of
@AsOf("3.3.0") static FossilFeature of(List<StructureTemplate> fossilStructures, List<StructureTemplate> overlayStructures, ProcessorList fossilProcessors, ProcessorList overlayProcessors, int maxEmptyCornersAllowed) Creates a new instance ofFossilFeaturewith the specified parameters.- Parameters:
fossilStructures- the templates the fossil skeleton is stamped from.overlayStructures- the templates layered over the fossil.fossilProcessors- the processors the fossil templates are run through.overlayProcessors- the processors the overlay templates are run through.maxEmptyCornersAllowed- The maximum number of empty corners allowed.- Returns:
- A new instance of
FossilFeature. - Since:
- 3.3.0
-
builder
Creates a new builder.- Returns:
- A new builder
- Since:
- 3.3.0
-