Class TickCriterion

All Implemented Interfaces:
Criterion<TickCriterion.Conditions>

public class TickCriterion extends AbstractCriterion<TickCriterion.Conditions>
Mappings:
Namespace Name
official cs
intermediary net/minecraft/class_2135
named net/minecraft/advancement/criterion/TickCriterion
  • 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 class AbstractCriterion<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

      public void trigger(ServerPlayerEntity player)
      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