Enum Class Items

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

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

    • DEACTIVATED_ENCHANTING_ALTAR

      public static final Items DEACTIVATED_ENCHANTING_ALTAR
    • DISTURBED_ENCHANTING_ALTAR

      public static final Items DISTURBED_ENCHANTING_ALTAR
    • ENCHANTED_TOME

      public static final Items ENCHANTED_TOME
    • ENCHANTED_PAGE

      public static final Items ENCHANTED_PAGE
    • ENCHANTED_TOME_SPAWN_EGG

      public static final Items ENCHANTED_TOME_SPAWN_EGG
    • ENCHANTED_BOOK_SPAWN_EGG

      public static final Items ENCHANTED_BOOK_SPAWN_EGG
  • Method Details

    • values

      public static Items[] 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 Items 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.item.Item build()
    • get

      public net.minecraft.world.item.Item get()
    • getSerializedName

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