Class StartedRidingCriterion

All Implemented Interfaces:
Criterion<StartedRidingCriterion.Conditions>

public class StartedRidingCriterion extends AbstractCriterion<StartedRidingCriterion.Conditions>
Mappings:
Namespace Name
official cz
intermediary net/minecraft/class_6407
named net/minecraft/advancement/criterion/StartedRidingCriterion
  • Constructor Details

    • StartedRidingCriterion

      public StartedRidingCriterion()
  • Method Details

    • conditionsFromJson

      public StartedRidingCriterion.Conditions conditionsFromJson(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
      Specified by:
      conditionsFromJson in class AbstractCriterion<StartedRidingCriterion.Conditions>
      Mappings:
      Namespace Name Mixin selector
      official a Lcz;a(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lbg;)Lcz$a;
      intermediary method_37258 Lnet/minecraft/class_6407;method_37258(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lnet/minecraft/class_5257;)Lnet/minecraft/class_6407$class_6408;
      named conditionsFromJson Lnet/minecraft/advancement/criterion/StartedRidingCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/StartedRidingCriterion$Conditions;
    • trigger

      public void trigger(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lcz;a(Lakr;)V
      intermediary method_37257 Lnet/minecraft/class_6407;method_37257(Lnet/minecraft/class_3222;)V
      named trigger Lnet/minecraft/advancement/criterion/StartedRidingCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;)V