Class ItemPredicateArgument.ItemPredicate

java.lang.Object
net.minecraft.command.arguments.ItemPredicateArgument.ItemPredicate
All Implemented Interfaces:
Predicate<ItemStack>
Enclosing class:
ItemPredicateArgument

static class ItemPredicateArgument.ItemPredicate extends Object implements Predicate<ItemStack>
  • Field Details

    • item

      private final Item item
    • nbt

      @Nullable private final CompoundNBT nbt
  • Constructor Details

    • ItemPredicate

      public ItemPredicate(Item p_i48221_1_, @Nullable CompoundNBT p_i48221_2_)
  • Method Details