public static enum NbtType.Enum extends Enum<NbtType.Enum>
| Enum Constant and Description |
|---|
BYTE |
BYTE_ARRAY |
COMPOUND |
DOUBLE |
END |
FLOAT |
INT |
INT_ARRAY |
LIST |
LONG |
LONG_ARRAY |
SHORT |
STRING |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static NbtType.Enum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NbtType.Enum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NbtType.Enum END
public static final NbtType.Enum BYTE
public static final NbtType.Enum SHORT
public static final NbtType.Enum INT
public static final NbtType.Enum LONG
public static final NbtType.Enum FLOAT
public static final NbtType.Enum DOUBLE
public static final NbtType.Enum BYTE_ARRAY
public static final NbtType.Enum STRING
public static final NbtType.Enum LIST
public static final NbtType.Enum COMPOUND
public static final NbtType.Enum INT_ARRAY
public static final NbtType.Enum LONG_ARRAY
public static NbtType.Enum[] values()
for (NbtType.Enum c : NbtType.Enum.values()) System.out.println(c);
public static NbtType.Enum 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 String getName()
Copyright © 2020. All rights reserved.