static class ItemPredicateArgument.ItemPredicate extends java.lang.Object implements java.util.function.Predicate<ItemStack>
| Modifier and Type | Field and Description | 
|---|---|
| private Item | item | 
| private CompoundNBT | nbt | 
| Constructor and Description | 
|---|
| ItemPredicate(Item itemIn,
             CompoundNBT nbtIn) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | test(ItemStack p_test_1_) | 
private final Item item
@Nullable private final CompoundNBT nbt
public ItemPredicate(Item itemIn, @Nullable CompoundNBT nbtIn)