public enum TagType extends Enum<TagType>
Enum Constant and Description |
---|
BYTE |
BYTE_ARRAY |
COMPOUND |
DOUBLE |
END |
FLOAT |
INT |
INT_ARRAY |
LIST |
LONG |
NULL |
SHORT |
STRING |
Modifier and Type | Method and Description |
---|---|
static TagType |
fromId(byte fromId) |
int |
id() |
Class<? extends NBTTag> |
implementation() |
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 BYTE_ARRAY
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 nullpublic Class<? extends NBTTag> implementation()
public int id()
Copyright © 2016. All rights reserved.