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
  • Field Details

    • ID

      static final Identifier ID
      Mappings:
      Namespace Name Mixin selector
      official a Lax;a:Laaj;
      intermediary field_9493 Lnet/minecraft/class_1999;field_9493:Lnet/minecraft/class_2960;
      named ID Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion;ID:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • ChangedDimensionCriterion

      public ChangedDimensionCriterion()
  • Method Details

    • getId

      public Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lam;a()Laaj;
      intermediary method_794 Lnet/minecraft/class_179;method_794()Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/advancement/criterion/Criterion;getId()Lnet/minecraft/util/Identifier;
    • conditionsFromJson

      public ChangedDimensionCriterion.Conditions conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
      Specified by:
      conditionsFromJson in class AbstractCriterion<ChangedDimensionCriterion.Conditions>
      Mappings:
      Namespace Name Mixin selector
      official a Lax;a(Lcom/google/gson/JsonObject;Lbo$b;Lbe;)Lax$a;
      intermediary method_8793 Lnet/minecraft/class_1999;method_8793(Lcom/google/gson/JsonObject;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_5257;)Lnet/minecraft/class_1999$class_2001;
      named conditionsFromJson Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;
    • trigger

      public void trigger(ServerPlayerEntity player, RegistryKey<World> from, RegistryKey<World> to)
      Mappings:
      Namespace Name Mixin selector
      official a Lax;a(Lafp;Laai;Laai;)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/util/registry/RegistryKey;Lnet/minecraft/util/registry/RegistryKey;)V