Enum Class DataPacks

java.lang.Object
java.lang.Enum<DataPacks>
johnsmith.enchantingoverhauled.data.DataPacks
All Implemented Interfaces:
Serializable, Comparable<DataPacks>, Constable, net.minecraft.util.StringRepresentable

public enum DataPacks extends Enum<DataPacks> implements net.minecraft.util.StringRepresentable
  • Enum Constant Details

    • ENCHANTING_ALTAR

      public static final DataPacks ENCHANTING_ALTAR
    • DEFAULT_ENCHANTMENT_THEMES

      public static final DataPacks DEFAULT_ENCHANTMENT_THEMES
    • ENCHANTED_TOME_LOOT_INJECTION

      public static final DataPacks ENCHANTED_TOME_LOOT_INJECTION
    • ENCHANTED_PAGE_LOOT_INJECTION

      public static final DataPacks ENCHANTED_PAGE_LOOT_INJECTION
    • ENCHANTED_LIBRARY

      public static final DataPacks ENCHANTED_LIBRARY
    • SCRIBES_RISE

      public static final DataPacks SCRIBES_RISE
    • SCRIBE_MENU

      public static final DataPacks SCRIBE_MENU
    • DEFAULT_ENCHANTMENT_SCHOOLS

      public static final DataPacks DEFAULT_ENCHANTMENT_SCHOOLS
    • AI_SPELLS

      public static final DataPacks AI_SPELLS
    • ADAPTED_ENCHANTMENTS

      public static final DataPacks ADAPTED_ENCHANTMENTS
    • CONFIGURABLE_ADAPTED_ENCHANTMENTS

      public static final DataPacks CONFIGURABLE_ADAPTED_ENCHANTMENTS
    • ENCHANTABLE_GOLDEN_APPLES

      public static final DataPacks ENCHANTABLE_GOLDEN_APPLES
    • ENCHANTABLE_POTIONS

      public static final DataPacks ENCHANTABLE_POTIONS
  • Field Details

    • path

      public final String path
    • title

      public final String title
  • Method Details

    • values

      public static DataPacks[] 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 DataPacks 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
    • register

      public johnsmith.configoverhauled.api.Property<johnsmith.enchantmentcore.api.config.PackInclusionType> register()
    • packInclusionType

      public johnsmith.configoverhauled.api.Property<johnsmith.enchantmentcore.api.config.PackInclusionType> packInclusionType()
    • getSerializedName

      @NotNull public @NotNull String getSerializedName()
      Specified by:
      getSerializedName in interface net.minecraft.util.StringRepresentable