public static enum IOHelper.ExtractCount extends java.lang.Enum<IOHelper.ExtractCount>
| Enum Constant and Description |
|---|
EXACT
Extract exactly the items specified, including amount.
|
FIRST_MATCHING
Extract the first matching ItemStack in the inventory, but not more than the given amount.
|
UP_TO
Extract up to the number of items specified but not more.
|
| Modifier and Type | Method and Description |
|---|---|
static IOHelper.ExtractCount |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IOHelper.ExtractCount[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IOHelper.ExtractCount EXACT
public static final IOHelper.ExtractCount FIRST_MATCHING
public static final IOHelper.ExtractCount UP_TO
public static IOHelper.ExtractCount[] values()
for (IOHelper.ExtractCount c : IOHelper.ExtractCount.values()) System.out.println(c);
public static IOHelper.ExtractCount 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 null