Class TravelCriterion

All Implemented Interfaces:
Criterion<TravelCriterion.Conditions>

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

    • TravelCriterion

      public TravelCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<TravelCriterion.Conditions> getConditionsCodec()
      Mappings:
      Namespace Name Mixin selector
      named getConditionsCodec Lnet/minecraft/advancement/criterion/Criterion;getConditionsCodec()Lcom/mojang/serialization/Codec;
      intermediary method_54937 Lnet/minecraft/class_179;method_54937()Lcom/mojang/serialization/Codec;
      official a Lap;a()Lcom/mojang/serialization/Codec;
    • trigger

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