Class StartedRidingCriterion

All Implemented Interfaces:
Criterion<StartedRidingCriterion.Conditions>

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

    • ID

      static final Identifier ID
      Mappings:
      Namespace Name Mixin selector
      official a Lcy;a:Lacq;
      intermediary field_33932 Lnet/minecraft/class_6407;field_33932:Lnet/minecraft/class_2960;
      named ID Lnet/minecraft/advancement/criterion/StartedRidingCriterion;ID:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • StartedRidingCriterion

      public StartedRidingCriterion()
  • Method Details

    • getId

      public Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lal;a()Lacq;
      intermediary method_794 Lnet/minecraft/class_179;method_794()Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/advancement/criterion/Criterion;getId()Lnet/minecraft/util/Identifier;
    • conditionsFromJson

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

      public void trigger(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lcy;a(Laie;)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