Class UsedTotemCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<UsedTotemCriterion.Conditions>
net.minecraft.advancement.criterion.UsedTotemCriterion
- All Implemented Interfaces:
Criterion<UsedTotemCriterion.Conditions>
- Mappings:
Namespace Name official dh
intermediary net/minecraft/class_2148
named net/minecraft/advancement/criterion/UsedTotemCriterion
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.advancement.criterion.Criterion
Criterion.ConditionsContainer<T extends CriterionConditions>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) void
trigger
(ServerPlayerEntity player, ItemStack stack) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, trigger
-
Constructor Details
-
UsedTotemCriterion
public UsedTotemCriterion()
-
-
Method Details
-
conditionsFromJson
public UsedTotemCriterion.Conditions conditionsFromJson(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) - Specified by:
conditionsFromJson
in classAbstractCriterion<UsedTotemCriterion.Conditions>
- Mappings:
Namespace Name Mixin selector official a
Ldh;a(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lbg;)Ldh$a;
intermediary method_9163
Lnet/minecraft/class_2148;method_9163(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lnet/minecraft/class_5257;)Lnet/minecraft/class_2148$class_2150;
named conditionsFromJson
Lnet/minecraft/advancement/criterion/UsedTotemCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/UsedTotemCriterion$Conditions;
-
trigger
- Mappings:
Namespace Name Mixin selector official a
Ldh;a(Lakr;Lcjf;)V
intermediary method_9165
Lnet/minecraft/class_2148;method_9165(Lnet/minecraft/class_3222;Lnet/minecraft/class_1799;)V
named trigger
Lnet/minecraft/advancement/criterion/UsedTotemCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/item/ItemStack;)V
-