Class UsingItemCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.UsingItemCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
UsingItemCriterion
- Mappings:
Namespace Name official dd$a
intermediary net/minecraft/class_6409$class_6410
named net/minecraft/advancement/criterion/UsingItemCriterion$Conditions
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(EntityPredicate.Builder player, ItemPredicate.Builder item) boolean
toJson
(AdvancementEntityPredicateSerializer predicateSerializer) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getId, getPlayerPredicate, toString
-
Field Details
-
item
- Mappings:
Namespace Name Mixin selector official a
Ldd$a;a:Lbx;
intermediary field_33938
Lnet/minecraft/class_6409$class_6410;field_33938:Lnet/minecraft/class_2073;
named item
Lnet/minecraft/advancement/criterion/UsingItemCriterion$Conditions;item:Lnet/minecraft/predicate/item/ItemPredicate;
-
-
Constructor Details
-
Conditions
- Mappings:
Namespace Name Mixin selector official <init>
Ldd$a;<init>(Lbl$b;Lbx;)V
intermediary <init>
Lnet/minecraft/class_6409$class_6410;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2073;)V
named <init>
Lnet/minecraft/advancement/criterion/UsingItemCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/item/ItemPredicate;)V
-
-
Method Details
-
create
public static UsingItemCriterion.Conditions create(EntityPredicate.Builder player, ItemPredicate.Builder item) - Mappings:
Namespace Name Mixin selector official a
Ldd$a;a(Lbl$a;Lbx$a;)Ldd$a;
intermediary method_37265
Lnet/minecraft/class_6409$class_6410;method_37265(Lnet/minecraft/class_2048$class_2049;Lnet/minecraft/class_2073$class_2074;)Lnet/minecraft/class_6409$class_6410;
named create
Lnet/minecraft/advancement/criterion/UsingItemCriterion$Conditions;create(Lnet/minecraft/predicate/entity/EntityPredicate$Builder;Lnet/minecraft/predicate/item/ItemPredicate$Builder;)Lnet/minecraft/advancement/criterion/UsingItemCriterion$Conditions;
-
test
- Mappings:
Namespace Name Mixin selector official a
Ldd$a;a(Lcdt;)Z
intermediary method_37266
Lnet/minecraft/class_6409$class_6410;method_37266(Lnet/minecraft/class_1799;)Z
named test
Lnet/minecraft/advancement/criterion/UsingItemCriterion$Conditions;test(Lnet/minecraft/item/ItemStack;)Z
-
toJson
- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lak;a(Lcq;)Lcom/google/gson/JsonObject;
intermediary method_807
Lnet/minecraft/class_184;method_807(Lnet/minecraft/class_5267;)Lcom/google/gson/JsonObject;
named toJson
Lnet/minecraft/advancement/criterion/CriterionConditions;toJson(Lnet/minecraft/predicate/entity/AdvancementEntityPredicateSerializer;)Lcom/google/gson/JsonObject;
-