public static enum NbtRef.EnumType extends java.lang.Enum<NbtRef.EnumType>
Modifier and Type | Method and Description |
---|---|
<N extends net.minecraft.nbt.NBTBase> |
create(N value) |
NbtRef<?> |
create(NbtPath path) |
static NbtRef.EnumType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NbtRef.EnumType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NbtRef.EnumType BY_PATH
public static final NbtRef.EnumType BY_VALUE
public static NbtRef.EnumType[] values()
for (NbtRef.EnumType c : NbtRef.EnumType.values()) System.out.println(c);
public static NbtRef.EnumType 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 <N extends net.minecraft.nbt.NBTBase> NbtRef<N> create(N value)