public class DelegatingItemHandlerFilter extends java.lang.Object implements IStackFilter
| Constructor and Description |
|---|
DelegatingItemHandlerFilter(ISingleStackFilter perStackFilter,
net.minecraftforge.items.IItemHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(net.minecraft.item.ItemStack stack)
Check to see if a given stack matches this filter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, getExamplespublic DelegatingItemHandlerFilter(ISingleStackFilter perStackFilter, net.minecraftforge.items.IItemHandler handler)
public boolean matches(@Nonnull
net.minecraft.item.ItemStack stack)
IStackFiltermatches in interface IStackFilterstack - The stack to test. stack.isEmpty will always return false.