Interface FossilFeatureConfiguration
- All Superinterfaces:
FeatureConfiguration, Wrapper
@NullMarked
@AsOf("3.3.0")
@Experimental
public interface FossilFeatureConfiguration
extends FeatureConfiguration
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 TypeMethodDescriptionbuilder()Creates a new builder.Gets the resource key for fossil processors.Gets the list of resource keys for fossil structures.intGets the maximum number of empty corners allowed in the fossil feature configuration.static FossilFeatureConfigurationof(List<ResourceKey> fossilStructures, List<ResourceKey> overlayStructures, ResourceKey fossilProcessors, ResourceKey overlayProcessors, int maxEmptyCornersAllowed) Creates a new instance ofFossilFeatureConfigurationwith the specified parameters.Gets the resource key for overlay processors.Gets the list of resource keys for overlay structures.Converts this object back to a builder.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
fossilStructures
Gets the list of resource keys for fossil structures.- Returns:
- A list of resource keys representing fossil structures.
- Since:
- 3.3.0
-
overlayStructures
Gets the list of resource keys for overlay structures.- Returns:
- A list of resource keys representing overlay structures.
- Since:
- 3.3.0
-
fossilProcessors
Gets the resource key for fossil processors.- Returns:
- A resource key representing fossil processors.
- Since:
- 3.3.0
-
overlayProcessors
Gets the resource key for overlay processors.- Returns:
- A resource key representing overlay processors.
- 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 FossilFeatureConfiguration of(List<ResourceKey> fossilStructures, List<ResourceKey> overlayStructures, ResourceKey fossilProcessors, ResourceKey overlayProcessors, int maxEmptyCornersAllowed) Creates a new instance ofFossilFeatureConfigurationwith the specified parameters.- Parameters:
fossilStructures- A list of resource keys for fossil structures.overlayStructures- A list of resource keys for overlay structures.fossilProcessors- A resource key for fossil processors.overlayProcessors- A resource key for overlay processors.maxEmptyCornersAllowed- The maximum number of empty corners allowed.- Returns:
- A new instance of
FossilFeatureConfiguration. - Since:
- 3.3.0
-
builder
Creates a new builder.- Returns:
- A new builder
- Since:
- 3.3.0
-