Class LevitationCriterion

All Implemented Interfaces:
Criterion<LevitationCriterion.Conditions>

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

    • LevitationCriterion

      public LevitationCriterion()
  • Method Details

    • getConditionsCodec

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