Class StartedRidingCriterion

All Implemented Interfaces:
Criterion<StartedRidingCriterion.Conditions>

public class StartedRidingCriterion extends AbstractCriterion<StartedRidingCriterion.Conditions>
Mappings:
Namespace Name
official cx
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 Lcx;a:Ladd;
      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()Ladd;
      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, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
      Specified by:
      conditionsFromJson in class AbstractCriterion<StartedRidingCriterion.Conditions>
      Mappings:
      Namespace Name Mixin selector
      official a Lcx;a(Lcom/google/gson/JsonObject;Lbn$b;Lbd;)Lcx$a;
      intermediary method_37258 Lnet/minecraft/class_6407;method_37258(Lcom/google/gson/JsonObject;Lnet/minecraft/class_2048$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/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/StartedRidingCriterion$Conditions;
    • trigger

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