类 ItemPredicateArgumentType.ItemPredicate
- java.lang.Object
-
- net.minecraft.command.argument.ItemPredicateArgumentType.ItemPredicate
-
-
字段概要
字段 修饰符和类型 字段 说明 private Itemitemprivate @Nullable CompoundTagnbt
-
构造器概要
构造器 构造器 说明 ItemPredicate(Item item, @Nullable CompoundTag nbt)
-
-
-
字段详细资料
-
item
private final Item item
- Mappings:
Namespace Name Mixin selector official aLfe$a;a:Lbpn;intermediary field_10813Lnet/minecraft/class_2293$class_2294;field_10813:Lnet/minecraft/class_1792;named itemLnet/minecraft/command/argument/ItemPredicateArgumentType$ItemPredicate;item:Lnet/minecraft/item/Item;
-
nbt
@Nullable private final @Nullable CompoundTag nbt
- Mappings:
Namespace Name Mixin selector official bLfe$a;b:Lmv;intermediary field_10814Lnet/minecraft/class_2293$class_2294;field_10814:Lnet/minecraft/class_2487;named nbtLnet/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;)Vintermediary <init>Lnet/minecraft/class_2293$class_2294;<init>(Lnet/minecraft/class_1792;Lnet/minecraft/class_2487;)Vnamed <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 aLfe$a;a(Lbpr;)Zintermediary method_9806Lnet/minecraft/class_2293$class_2294;method_9806(Lnet/minecraft/class_1799;)Znamed testLnet/minecraft/command/argument/ItemPredicateArgumentType$ItemPredicate;test(Lnet/minecraft/item/ItemStack;)Z
-
-