类 ItemPredicateArgumentType.TagPredicate
- java.lang.Object
-
- net.minecraft.command.argument.ItemPredicateArgumentType.TagPredicate
-
-
构造器概要
构造器 构造器 说明 TagPredicate(Tag<Item> tag, @Nullable CompoundTag nbt)
-
-
-
字段详细资料
-
tag
private final Tag<Item> tag
- Mappings:
Namespace Name Mixin selector official aLfe$c;a:Lafs;intermediary field_10815Lnet/minecraft/class_2293$class_2296;field_10815:Lnet/minecraft/class_3494;named tagLnet/minecraft/command/argument/ItemPredicateArgumentType$TagPredicate;tag:Lnet/minecraft/tag/Tag;
-
compound
@Nullable private final @Nullable CompoundTag compound
- Mappings:
Namespace Name Mixin selector official bLfe$c;b:Lmv;intermediary field_10816Lnet/minecraft/class_2293$class_2296;field_10816:Lnet/minecraft/class_2487;named compoundLnet/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;)Vintermediary <init>Lnet/minecraft/class_2293$class_2296;<init>(Lnet/minecraft/class_3494;Lnet/minecraft/class_2487;)Vnamed <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 aLfe$c;a(Lbpr;)Zintermediary method_9807Lnet/minecraft/class_2293$class_2296;method_9807(Lnet/minecraft/class_1799;)Znamed testLnet/minecraft/command/argument/ItemPredicateArgumentType$TagPredicate;test(Lnet/minecraft/item/ItemStack;)Z
-
-