类 ItemPredicateArgumentType.ItemPredicate

  • 所有已实现的接口:
    Predicate<ItemStack>
    封闭类:
    ItemPredicateArgumentType

    static class ItemPredicateArgumentType.ItemPredicate
    extends Object
    implements Predicate<ItemStack>
    Mappings:
    Namespace Name
    official fe$a
    intermediary net/minecraft/class_2293$class_2294
    named net/minecraft/command/argument/ItemPredicateArgumentType$ItemPredicate
    • 字段详细资料

      • item

        private final Item item
        Mappings:
        Namespace Name Mixin selector
        official a Lfe$a;a:Lbpn;
        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;
      • nbt

        @Nullable
        private final @Nullable CompoundTag nbt
        Mappings:
        Namespace Name Mixin selector
        official b Lfe$a;b:Lmv;
        intermediary field_10814 Lnet/minecraft/class_2293$class_2294;field_10814:Lnet/minecraft/class_2487;
        named nbt Lnet/minecraft/command/argument/ItemPredicateArgumentType$ItemPredicate;nbt:Lnet/minecraft/nbt/CompoundTag;
    • 构造器详细资料

      • ItemPredicate

        public ItemPredicate​(Item item,
                             @Nullable
                             @Nullable CompoundTag nbt)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lfe$a;<init>(Lbpn;Lmv;)V
        intermediary <init> Lnet/minecraft/class_2293$class_2294;<init>(Lnet/minecraft/class_1792;Lnet/minecraft/class_2487;)V
        named <init> Lnet/minecraft/command/argument/ItemPredicateArgumentType$ItemPredicate;<init>(Lnet/minecraft/item/Item;Lnet/minecraft/nbt/CompoundTag;)V
    • 方法详细资料

      • test

        public boolean test​(ItemStack itemStack)
        指定者:
        test 在接口中 Predicate<ItemStack>
        Mappings:
        Namespace Name Mixin selector
        official a Lfe$a;a(Lbpr;)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