public enum AutomaticProvidingTransactor extends java.lang.Enum<AutomaticProvidingTransactor> implements IItemTransactor.IItemExtractable
IItemTransactor that cannot be inserted or extracted from directly, but implements
IItemTransactor.IItemExtractable so as to be noticed by pipes (and other machines) as one that will auto-insert into it.IItemTransactor.IItemExtractable, IItemTransactor.IItemInsertable| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.item.ItemStack |
extract(IStackFilter filter,
int min,
int max,
boolean simulate)
Extracts a number of items that match the given filter
|
static AutomaticProvidingTransactor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AutomaticProvidingTransactor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfinsertcanFullyAccept, canPartiallyAccept, insertpublic static final AutomaticProvidingTransactor INSTANCE
public static AutomaticProvidingTransactor[] values()
for (AutomaticProvidingTransactor c : AutomaticProvidingTransactor.values()) System.out.println(c);
public static AutomaticProvidingTransactor 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@Nonnull public net.minecraft.item.ItemStack extract(IStackFilter filter, int min, int max, boolean simulate)
IItemTransactorextract in interface IItemTransactorfilter - The filter that MUST be met by the extracted stack. Null means no filter - it can be any item.min - The minimum number of items to extract, or 0 if not enough items can be extractedmax - The maximum number of items to extract.simulate - If true then the in-world state of this will not be changed.ItemStack.EMPTY if it could not be.