Class ItemPredicateArgumentType.TagPredicate

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

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

    • tag

      private final Tag<Item> tag
      Mappings:
      Namespace Name Mixin selector
      official a Lez$c;a:Lafc;
      intermediary field_10815 Lnet/minecraft/class_2293$class_2296;field_10815:Lnet/minecraft/class_3494;
      named tag Lnet/minecraft/command/argument/ItemPredicateArgumentType$TagPredicate;tag:Lnet/minecraft/tag/Tag;
    • compound

      @Nullable private final CompoundTag compound
      Mappings:
      Namespace Name Mixin selector
      official b Lez$c;b:Lmq;
      intermediary field_10816 Lnet/minecraft/class_2293$class_2296;field_10816:Lnet/minecraft/class_2487;
      named compound Lnet/minecraft/command/argument/ItemPredicateArgumentType$TagPredicate;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$c;a(Lbnv;)Z
      intermediary method_9807 Lnet/minecraft/class_2293$class_2296;method_9807(Lnet/minecraft/class_1799;)Z
      named test Lnet/minecraft/command/argument/ItemPredicateArgumentType$TagPredicate;test(Lnet/minecraft/item/ItemStack;)Z