Class TravelCriterion

All Implemented Interfaces:
Criterion<TravelCriterion.Conditions>

public class TravelCriterion extends AbstractCriterion<TravelCriterion.Conditions>
Mappings:
Namespace Name
official bg
intermediary net/minecraft/class_2108
named net/minecraft/advancement/criterion/TravelCriterion
  • Field Details

    • id

      final Identifier id
      Mappings:
      Namespace Name Mixin selector
      official a Lbg;a:Lyt;
      intermediary field_9717 Lnet/minecraft/class_2108;field_9717:Lnet/minecraft/class_2960;
      named id Lnet/minecraft/advancement/criterion/TravelCriterion;id:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • TravelCriterion

      public TravelCriterion(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbg;<init>(Lyt;)V
      intermediary <init> Lnet/minecraft/class_2108;<init>(Lnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/advancement/criterion/TravelCriterion;<init>(Lnet/minecraft/util/Identifier;)V
  • Method Details

    • getId

      public Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lam;a()Lyt;
      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 TravelCriterion.Conditions conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
      Specified by:
      conditionsFromJson in class AbstractCriterion<TravelCriterion.Conditions>
      Mappings:
      Namespace Name Mixin selector
      official a Lbg;a(Lcom/google/gson/JsonObject;Lbo$b;Lbe;)Lbg$a;
      intermediary method_9078 Lnet/minecraft/class_2108;method_9078(Lcom/google/gson/JsonObject;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_5257;)Lnet/minecraft/class_2108$class_2110;
      named conditionsFromJson Lnet/minecraft/advancement/criterion/TravelCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/TravelCriterion$Conditions;
    • trigger

      public void trigger(ServerPlayerEntity player, Vec3d startPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbg;a(Ladx;Ldpo;)V
      intermediary method_9080 Lnet/minecraft/class_2108;method_9080(Lnet/minecraft/class_3222;Lnet/minecraft/class_243;)V
      named trigger Lnet/minecraft/advancement/criterion/TravelCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/util/math/Vec3d;)V