Package net.minecraft.command.arguments
Class ItemPredicateArgument.TagPredicate
- java.lang.Object
-
- net.minecraft.command.arguments.ItemPredicateArgument.TagPredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<ItemStack>
- Enclosing class:
- ItemPredicateArgument
static class ItemPredicateArgument.TagPredicate extends java.lang.Object implements java.util.function.Predicate<ItemStack>
-
-
Field Summary
Fields Modifier and Type Field Description private CompoundNBT
nbt
private ITag<Item>
tag
-
Constructor Summary
Constructors Constructor Description TagPredicate(ITag<Item> p_i48220_1_, CompoundNBT p_i48220_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
test(ItemStack p_test_1_)
-
-
-
Field Detail
-
nbt
@Nullable private final CompoundNBT nbt
-
-
Constructor Detail
-
TagPredicate
public TagPredicate(ITag<Item> p_i48220_1_, @Nullable CompoundNBT p_i48220_2_)
-
-