Enum ItemStackPredicate.NBTMode
- java.lang.Object
-
- java.lang.Enum<ItemStackPredicate.NBTMode>
-
- com.gtnewhorizon.structurelib.util.ItemStackPredicate.NBTMode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ItemStackPredicate.NBTMode>,java.util.function.BiPredicate<NBTTagCompound,NBTTagCompound>
- Enclosing class:
- ItemStackPredicate
public static enum ItemStackPredicate.NBTMode extends java.lang.Enum<ItemStackPredicate.NBTMode> implements java.util.function.BiPredicate<NBTTagCompound,NBTTagCompound>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXACTIGNOREIGNORE_KNOWN_INSIGNIFICANT_TAGSIN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ItemStackPredicate.NBTModevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ItemStackPredicate.NBTMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IGNORE
public static final ItemStackPredicate.NBTMode IGNORE
-
IN
public static final ItemStackPredicate.NBTMode IN
-
EXACT
public static final ItemStackPredicate.NBTMode EXACT
-
IGNORE_KNOWN_INSIGNIFICANT_TAGS
public static final ItemStackPredicate.NBTMode IGNORE_KNOWN_INSIGNIFICANT_TAGS
-
-
Method Detail
-
values
public static ItemStackPredicate.NBTMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ItemStackPredicate.NBTMode c : ItemStackPredicate.NBTMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ItemStackPredicate.NBTMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-