类 ItemPredicateArgumentType.TagPredicate

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

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

      • tag

        private final Tag<Item> tag
        Mappings:
        Namespace Name Mixin selector
        official a Lfe$c;a:Lafs;
        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 @Nullable CompoundTag compound
        Mappings:
        Namespace Name Mixin selector
        official b Lfe$c;b:Lmv;
        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;
    • 构造器详细资料

      • TagPredicate

        public TagPredicate​(Tag<Item> tag,
                            @Nullable
                            @Nullable CompoundTag nbt)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lfe$c;<init>(Lafs;Lmv;)V
        intermediary <init> Lnet/minecraft/class_2293$class_2296;<init>(Lnet/minecraft/class_3494;Lnet/minecraft/class_2487;)V
        named <init> Lnet/minecraft/command/argument/ItemPredicateArgumentType$TagPredicate;<init>(Lnet/minecraft/tag/Tag;Lnet/minecraft/nbt/CompoundTag;)V
    • 方法详细资料

      • test

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