Class ChangedDimensionCriterion.Conditions

java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.ChangedDimensionCriterion.Conditions
All Implemented Interfaces:
CriterionConditions
Enclosing class:
ChangedDimensionCriterion

public static class ChangedDimensionCriterion.Conditions extends AbstractCriterionConditions
Mappings:
Namespace Name
official ax$a
intermediary net/minecraft/class_1999$class_2001
named net/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions
  • Field Details

    • from

      @Nullable private final @Nullable RegistryKey<World> from
      Mappings:
      Namespace Name Mixin selector
      official a Lax$a;a:Lya;
      intermediary field_9497 Lnet/minecraft/class_1999$class_2001;field_9497:Lnet/minecraft/class_5321;
      named from Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;from:Lnet/minecraft/util/registry/RegistryKey;
    • to

      @Nullable private final @Nullable RegistryKey<World> to
      Mappings:
      Namespace Name Mixin selector
      official b Lax$a;b:Lya;
      intermediary field_9498 Lnet/minecraft/class_1999$class_2001;field_9498:Lnet/minecraft/class_5321;
      named to Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;to:Lnet/minecraft/util/registry/RegistryKey;
  • Constructor Details

    • Conditions

      Mappings:
      Namespace Name Mixin selector
      official <init> Lax$a;<init>(Lbo$b;Lya;Lya;)V
      intermediary <init> Lnet/minecraft/class_1999$class_2001;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_5321;Lnet/minecraft/class_5321;)V
      named <init> Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/util/registry/RegistryKey;)V
  • Method Details

    • create

      public static ChangedDimensionCriterion.Conditions create()
      Mappings:
      Namespace Name Mixin selector
      official c Lax$a;c()Lax$a;
      intermediary method_35070 Lnet/minecraft/class_1999$class_2001;method_35070()Lnet/minecraft/class_1999$class_2001;
      named create Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;create()Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;
    • create

      Mappings:
      Namespace Name Mixin selector
      official a Lax$a;a(Lya;Lya;)Lax$a;
      intermediary method_35068 Lnet/minecraft/class_1999$class_2001;method_35068(Lnet/minecraft/class_5321;Lnet/minecraft/class_5321;)Lnet/minecraft/class_1999$class_2001;
      named create Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;create(Lnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/util/registry/RegistryKey;)Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;
    • to

      Mappings:
      Namespace Name Mixin selector
      official a Lax$a;a(Lya;)Lax$a;
      intermediary method_8799 Lnet/minecraft/class_1999$class_2001;method_8799(Lnet/minecraft/class_5321;)Lnet/minecraft/class_1999$class_2001;
      named to Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;to(Lnet/minecraft/util/registry/RegistryKey;)Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;
    • from

      Mappings:
      Namespace Name Mixin selector
      official b Lax$a;b(Lya;)Lax$a;
      intermediary method_35069 Lnet/minecraft/class_1999$class_2001;method_35069(Lnet/minecraft/class_5321;)Lnet/minecraft/class_1999$class_2001;
      named from Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;from(Lnet/minecraft/util/registry/RegistryKey;)Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;
    • matches

      public boolean matches(RegistryKey<World> from, RegistryKey<World> to)
      Mappings:
      Namespace Name Mixin selector
      official b Lax$a;b(Lya;Lya;)Z
      intermediary method_8800 Lnet/minecraft/class_1999$class_2001;method_8800(Lnet/minecraft/class_5321;Lnet/minecraft/class_5321;)Z
      named matches Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;matches(Lnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/util/registry/RegistryKey;)Z
    • toJson

      public JsonObject toJson(AdvancementEntityPredicateSerializer predicateSerializer)
      Specified by:
      toJson in interface CriterionConditions
      Overrides:
      toJson in class AbstractCriterionConditions
      Mappings:
      Namespace Name Mixin selector
      official a Lan;a(Lcr;)Lcom/google/gson/JsonObject;
      intermediary method_807 Lnet/minecraft/class_184;method_807(Lnet/minecraft/class_5267;)Lcom/google/gson/JsonObject;
      named toJson Lnet/minecraft/advancement/criterion/CriterionConditions;toJson(Lnet/minecraft/predicate/entity/AdvancementEntityPredicateSerializer;)Lcom/google/gson/JsonObject;