public interface ITagFilteringItem
IItemRegistry.doesItemMatchFilter(ItemStack, ItemStack, boolean, boolean, boolean)| Modifier and Type | Method and Description |
|---|---|
boolean |
matchTags(net.minecraft.item.ItemStack filterStack,
net.minecraft.item.Item item)
Does the given item's tags have a non-empty intersection with the given filter stack's configured tag list?
|
boolean matchTags(net.minecraft.item.ItemStack filterStack,
net.minecraft.item.Item item)
filterStack - the stack to filter against; should be of an item implementing this interfaceitem - the item to check