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