Class ItemPredicateArgument.ItemPredicate

java.lang.Object
net.minecraft.commands.arguments.item.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 CompoundTag nbt
  • Constructor Details

    • ItemPredicate

      public ItemPredicate(Item p_121061_, @Nullable CompoundTag p_121062_)
  • Method Details