public interface IStackFilter
Modifier and Type | Method and Description |
---|---|
default IStackFilter |
and(IStackFilter filter) |
default net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> |
getExamples()
Returns example stack to match this filter
|
boolean |
matches(net.minecraft.item.ItemStack stack)
Check to see if a given stack matches this filter.
|
boolean matches(@Nonnull net.minecraft.item.ItemStack stack)
stack
- The stack to test. stack.isEmpty will always return false.default IStackFilter and(IStackFilter filter)
default net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> getExamples()