Class ChangedDimensionCriterion

All Implemented Interfaces:
Criterion<ChangedDimensionCriterion.Conditions>

public class ChangedDimensionCriterion extends AbstractCriterion<ChangedDimensionCriterion.Conditions>
Mappings:
Namespace Name
official aw
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 Law;a:Lacq;
      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 Lal;a()Lacq;
      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, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
      Specified by:
      conditionsFromJson in class AbstractCriterion<ChangedDimensionCriterion.Conditions>
      Mappings:
      Namespace Name Mixin selector
      official a Law;a(Lcom/google/gson/JsonObject;Lba;Lbe;)Law$a;
      intermediary method_8793 Lnet/minecraft/class_1999;method_8793(Lcom/google/gson/JsonObject;Lnet/minecraft/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/LootContextPredicate;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 Law;a(Laig;Lacp;Lacp;)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