Class UsedTotemCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.UsedTotemCriterion.Conditions
- All Implemented Interfaces:
AbstractCriterion.Conditions
,CriterionConditions
- Enclosing class:
UsedTotemCriterion
- Mappings:
Namespace Name official dh$a
intermediary net/minecraft/class_2148$class_2150
named net/minecraft/advancement/criterion/UsedTotemCriterion$Conditions
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConditions
(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> item) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(ItemConvertible item) create
(ItemPredicate itemPredicate) boolean
com.google.gson.JsonObject
toJson()
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getPlayerPredicate
-
Field Details
-
item
- Mappings:
Namespace Name Mixin selector official a
Ldh$a;a:Ljava/util/Optional;
intermediary field_9777
Lnet/minecraft/class_2148$class_2150;field_9777:Ljava/util/Optional;
named item
Lnet/minecraft/advancement/criterion/UsedTotemCriterion$Conditions;item:Ljava/util/Optional;
-
-
Constructor Details
-
Conditions
- Mappings:
Namespace Name Mixin selector official <init>
Ldh$a;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_2148$class_2150;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
named <init>
Lnet/minecraft/advancement/criterion/UsedTotemCriterion$Conditions;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
-
-
Method Details
-
create
public static AdvancementCriterion<UsedTotemCriterion.Conditions> create(ItemPredicate itemPredicate) - Mappings:
Namespace Name Mixin selector official a
Ldh$a;a(Lcb;)Lam;
intermediary method_35399
Lnet/minecraft/class_2148$class_2150;method_35399(Lnet/minecraft/class_2073;)Lnet/minecraft/class_175;
named create
Lnet/minecraft/advancement/criterion/UsedTotemCriterion$Conditions;create(Lnet/minecraft/predicate/item/ItemPredicate;)Lnet/minecraft/advancement/AdvancementCriterion;
-
create
- Mappings:
Namespace Name Mixin selector official a
Ldh$a;a(Lcpu;)Lam;
intermediary method_9170
Lnet/minecraft/class_2148$class_2150;method_9170(Lnet/minecraft/class_1935;)Lnet/minecraft/class_175;
named create
Lnet/minecraft/advancement/criterion/UsedTotemCriterion$Conditions;create(Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/advancement/AdvancementCriterion;
-
matches
- Mappings:
Namespace Name Mixin selector official a
Ldh$a;a(Lcjf;)Z
intermediary method_9171
Lnet/minecraft/class_2148$class_2150;method_9171(Lnet/minecraft/class_1799;)Z
named matches
Lnet/minecraft/advancement/criterion/UsedTotemCriterion$Conditions;matches(Lnet/minecraft/item/ItemStack;)Z
-
toJson
public com.google.gson.JsonObject toJson()- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lap;a()Lcom/google/gson/JsonObject;
intermediary method_807
Lnet/minecraft/class_184;method_807()Lcom/google/gson/JsonObject;
named toJson
Lnet/minecraft/advancement/criterion/CriterionConditions;toJson()Lcom/google/gson/JsonObject;
-