Class TravelCriterion

All Implemented Interfaces:
Criterion<TravelCriterion.Conditions>

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

    • TravelCriterion

      public TravelCriterion()
  • Method Details

    • getConditionsCodec

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

      public void trigger(ServerPlayerEntity player, Vec3d startPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbh;a(Lane;Lelt;)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