public class ArrayStackOrListFilter extends ArrayStackFilter
stacks
Constructor and Description |
---|
ArrayStackOrListFilter(net.minecraft.item.ItemStack... stacks) |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(net.minecraft.item.ItemStack stack)
Check to see if a given stack matches this filter.
|
definition, definition, definition, definition, definition, definition, getExamples, getStacks, hasFilter, matches
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and
public ArrayStackOrListFilter(net.minecraft.item.ItemStack... stacks)
public boolean matches(@Nonnull net.minecraft.item.ItemStack stack)
IStackFilter
matches
in interface IStackFilter
matches
in class ArrayStackFilter
stack
- The stack to test. stack.isEmpty will always return false.