Class ItemPredicateArgumentType.ItemPredicate

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

static class ItemPredicateArgumentType.ItemPredicate
extends Object
implements Predicate<ItemStack>
Mappings:
Namespace Name
official ez$a
intermediary net/minecraft/class_2293$class_2294
named net/minecraft/command/argument/ItemPredicateArgumentType$ItemPredicate
  • Field Details

    • item

      private final Item item
      Mappings:
      Namespace Name Mixin selector
      official a Lez$a;a:Lbnr;
      intermediary field_10813 Lnet/minecraft/class_2293$class_2294;field_10813:Lnet/minecraft/class_1792;
      named item Lnet/minecraft/command/argument/ItemPredicateArgumentType$ItemPredicate;item:Lnet/minecraft/item/Item;
    • compound

      @Nullable private final CompoundTag compound
      Mappings:
      Namespace Name Mixin selector
      official b Lez$a;b:Lmq;
      intermediary field_10814 Lnet/minecraft/class_2293$class_2294;field_10814:Lnet/minecraft/class_2487;
      named compound Lnet/minecraft/command/argument/ItemPredicateArgumentType$ItemPredicate;compound:Lnet/minecraft/nbt/CompoundTag;
  • Constructor Details

  • Method Details

    • test

      public boolean test​(ItemStack itemStack)
      Specified by:
      test in interface Predicate<ItemStack>
      Mappings:
      Namespace Name Mixin selector
      official a Lez$a;a(Lbnv;)Z
      intermediary method_9806 Lnet/minecraft/class_2293$class_2294;method_9806(Lnet/minecraft/class_1799;)Z
      named test Lnet/minecraft/command/argument/ItemPredicateArgumentType$ItemPredicate;test(Lnet/minecraft/item/ItemStack;)Z