Enum Class SherdType

java.lang.Object
java.lang.Enum<SherdType>
net.darkhax.ohmysherd.common.impl.SherdType
All Implemented Interfaces:
Serializable, Comparable<SherdType>, Constable

public enum SherdType extends Enum<SherdType>
  • Enum Constant Details

    • SNIP

      public static final SherdType SNIP
    • REMAINS

      public static final SherdType REMAINS
    • INVADER

      public static final SherdType INVADER
  • Method Details

    • values

      public static SherdType[] 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 SherdType 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
    • item

      public net.minecraft.world.item.Item item()
    • id

      public String id()
    • itemId

      public String itemId()
    • patternId

      public String patternId()