public enum GermItemType extends java.lang.Enum<GermItemType>
Enum Constant and Description |
---|
ARMOUR |
ARMOURERS_WORKSHOP |
BEDROCK_EDITION |
EFFECT |
ICON |
JAVA_EDITION |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends GermItemPart<? extends DynamicBase>> |
getItemClass() |
static java.lang.Class<? extends GermItemPart<? extends DynamicBase>> |
getItemClassFromType(java.lang.String type) |
java.lang.String |
getType() |
static GermItemType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GermItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GermItemType BEDROCK_EDITION
public static final GermItemType JAVA_EDITION
public static final GermItemType ARMOURERS_WORKSHOP
public static final GermItemType ICON
public static final GermItemType ARMOUR
public static final GermItemType EFFECT
public static GermItemType[] values()
for (GermItemType c : GermItemType.values()) System.out.println(c);
public static GermItemType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.lang.Class<? extends GermItemPart<? extends DynamicBase>> getItemClassFromType(java.lang.String type)
public java.lang.String getType()
public java.lang.Class<? extends GermItemPart<? extends DynamicBase>> getItemClass()