Enum CustomCrafterAPI.NameStrictLevel

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum CustomCrafterAPI.NameStrictLevel
    extends Enum<CustomCrafterAPI.NameStrictLevel>
                        

    Restriction level for recipe name duplication, applied during recipe registration.

    Introduced to prevent confusion when multiple recipes are displayed simultaneously.

    • NOTHING: No restriction.

    • WEAK: A recipe cannot be registered if an existing recipe has an exactly matching name.

    • STRICT: A recipe cannot be registered if its name, with all whitespace removed, matches an existing recipe name.

    Since:

    5.2.0