Class LevitationCriterion

All Implemented Interfaces:
Criterion<LevitationCriterion.Conditions>

public class LevitationCriterion extends AbstractCriterion<LevitationCriterion.Conditions>
Mappings:
Namespace Name
official ce
intermediary net/minecraft/class_2085
named net/minecraft/advancement/criterion/LevitationCriterion
  • Constructor Details

    • LevitationCriterion

      public LevitationCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<LevitationCriterion.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, int duration)
      Mappings:
      Namespace Name Mixin selector
      official a Lce;a(Lane;Lelt;I)V
      intermediary method_9008 Lnet/minecraft/class_2085;method_9008(Lnet/minecraft/class_3222;Lnet/minecraft/class_243;I)V
      named trigger Lnet/minecraft/advancement/criterion/LevitationCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/util/math/Vec3d;I)V