Interface FossilFeature

All Superinterfaces:
FeatureConfiguration, Wrapper

@NullMarked @AsOf("3.3.0") public interface FossilFeature 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:
  • Method Details

    • fossilStructures

      @AsOf("3.3.0") List<StructureTemplate> fossilStructures()
      Gets the templates the fossil skeleton is stamped from.
      Returns:
      the fossil templates
      Since:
      3.3.0
    • overlayStructures

      @AsOf("3.3.0") List<StructureTemplate> overlayStructures()
      Gets the templates layered over the fossil, one per fossil template.
      Returns:
      the overlay templates
      Since:
      3.3.0
    • fossilProcessors

      @AsOf("3.3.0") ProcessorList fossilProcessors()
      Gets the processors the fossil templates are run through.
      Returns:
      the fossil processor list
      Since:
      3.3.0
    • overlayProcessors

      @AsOf("3.3.0") ProcessorList overlayProcessors()
      Gets the processors the overlay templates are run through.
      Returns:
      the overlay processor list
      Since:
      3.3.0
    • maxEmptyCornersAllowed

      @AsOf("3.3.0") int 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

      @AsOf("3.3.0") default FossilFeature.Builder 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 of FossilFeature with 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

      @AsOf("3.3.0") static FossilFeature.Builder builder()
      Creates a new builder.
      Returns:
      A new builder
      Since:
      3.3.0