Enum Class StructureProcessors

java.lang.Object
java.lang.Enum<StructureProcessors>
johnsmith.enchantingoverhauled.api.structure.processor.StructureProcessors
All Implemented Interfaces:
Serializable, Comparable<StructureProcessors>, Constable, net.minecraft.util.StringRepresentable

public enum StructureProcessors extends Enum<StructureProcessors> implements net.minecraft.util.StringRepresentable
Enumeration of custom StructureProcessorTypes introduced by Enchanting Overhauled.

Provides deferred factory suppliers for registering custom structure processors across Fabric, Forge, and NeoForge.

  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>

    Nested classes/interfaces inherited from interface net.minecraft.util.StringRepresentable

    net.minecraft.util.StringRepresentable.EnumCodec<E extends Enum<E> & net.minecraft.util.StringRepresentable>, net.minecraft.util.StringRepresentable.StringRepresentableCodec<S extends net.minecraft.util.StringRepresentable>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Structure processor that attaches vines to the sturdy horizontal faces of solid blocks (VinesProcessor).
    Composite processor that chains multiple StructureProcessorLists (ProcessorList).
    Structure processor that places persistent Jungle Leaves above eligible floor blocks (OvergrowthProcessor).
    Enhanced rule processor supporting property copying and gradient/weighted outputs (RuleProcessor).
  • Field Summary

    Fields inherited from interface net.minecraft.util.StringRepresentable

    PRE_BUILT_MAP_THRESHOLD
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessorType<?>
    Builds and caches the StructureProcessorType instance for registration.
    <T extends net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessor>
    net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessorType<T>
    get()
    Retrieves the built StructureProcessorType cast to the expected processor type parameter.
    @NotNull String
    Retrieves the serialized registry path name for this structure processor type.
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

  • Method Details

    • values

      public static StructureProcessors[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static StructureProcessors valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • build

      public net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessorType<?> build()
      Builds and caches the StructureProcessorType instance for registration.
      Returns:
      The built StructureProcessorType.
    • get

      public <T extends net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessor> net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessorType<T> get()
      Retrieves the built StructureProcessorType cast to the expected processor type parameter.
      Type Parameters:
      T - The StructureProcessor subclass type.
      Returns:
      The registered StructureProcessorType.
    • getSerializedName

      @NotNull public @NotNull String getSerializedName()
      Retrieves the serialized registry path name for this structure processor type.
      Specified by:
      getSerializedName in interface net.minecraft.util.StringRepresentable
      Returns:
      The string key.