public enum TagType extends Enum<TagType>
Modifier and Type | Method and Description |
---|---|
static TagType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TagType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TagType BLOCK
public static final TagType ITEM
public static final TagType FLUID
public static final TagType ENTITY
public static TagType[] values()
for (TagType c : TagType.values()) System.out.println(c);
public static TagType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016–2020. All rights reserved.