Class ChangedDimensionCriterion

All Implemented Interfaces:
Criterion<ChangedDimensionCriterion.Conditions>

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

    • ChangedDimensionCriterion

      public ChangedDimensionCriterion()
  • Method Details

    • getConditionsCodec

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