Class ChangedDimensionCriterion

All Implemented Interfaces:
Criterion<ChangedDimensionCriterion.Conditions>

public class ChangedDimensionCriterion extends AbstractCriterion<ChangedDimensionCriterion.Conditions>
Mappings:
Namespace Name
named net/minecraft/advancement/criterion/ChangedDimensionCriterion
intermediary net/minecraft/class_1999
official ay
  • Constructor Details

    • ChangedDimensionCriterion

      public ChangedDimensionCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<ChangedDimensionCriterion.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, RegistryKey<World> from, RegistryKey<World> to)
      Mappings:
      Namespace Name Mixin selector
      named trigger Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/registry/RegistryKey;)V
      intermediary method_8794 Lnet/minecraft/class_1999;method_8794(Lnet/minecraft/class_3222;Lnet/minecraft/class_5321;Lnet/minecraft/class_5321;)V
      official a Lay;a(Larg;Lale;Lale;)V