public enum EnumNbtCompareOperation extends java.lang.Enum<EnumNbtCompareOperation>
Modifier and Type | Field and Description |
---|---|
static com.google.gson.JsonDeserializer<EnumNbtCompareOperation> |
DESERIALIZER |
java.lang.String |
name |
Modifier and Type | Method and Description |
---|---|
static EnumNbtCompareOperation |
byName(java.lang.String name) |
abstract boolean |
compare(net.minecraft.nbt.NBTBase a,
net.minecraft.nbt.NBTBase b) |
static EnumNbtCompareOperation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumNbtCompareOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumNbtCompareOperation EQ
public static final EnumNbtCompareOperation NQE
public final java.lang.String name
public static final com.google.gson.JsonDeserializer<EnumNbtCompareOperation> DESERIALIZER
public static EnumNbtCompareOperation[] values()
for (EnumNbtCompareOperation c : EnumNbtCompareOperation.values()) System.out.println(c);
public static EnumNbtCompareOperation 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 EnumNbtCompareOperation byName(java.lang.String name)
public abstract boolean compare(net.minecraft.nbt.NBTBase a, net.minecraft.nbt.NBTBase b)