Class TickCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<TickCriterion.Conditions>
net.minecraft.advancement.criterion.TickCriterion
- All Implemented Interfaces:
Criterion<TickCriterion.Conditions>
- Mappings:
Namespace Name official cs
intermediary net/minecraft/class_2135
named net/minecraft/advancement/criterion/TickCriterion
-
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) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, trigger
-
Constructor Details
-
TickCriterion
public TickCriterion()
-
-
Method Details
-
conditionsFromJson
public TickCriterion.Conditions conditionsFromJson(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) - Specified by:
conditionsFromJson
in classAbstractCriterion<TickCriterion.Conditions>
- Mappings:
Namespace Name Mixin selector official a
Lcs;a(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lbg;)Lcs$a;
intermediary method_9140
Lnet/minecraft/class_2135;method_9140(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lnet/minecraft/class_5257;)Lnet/minecraft/class_2135$class_2137;
named conditionsFromJson
Lnet/minecraft/advancement/criterion/TickCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/TickCriterion$Conditions;
-
trigger
- Mappings:
Namespace Name Mixin selector official a
Lcs;a(Lakr;)V
intermediary method_9141
Lnet/minecraft/class_2135;method_9141(Lnet/minecraft/class_3222;)V
named trigger
Lnet/minecraft/advancement/criterion/TickCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-