Class ChangedDimensionCriterion.Conditions

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

public static class ChangedDimensionCriterion.Conditions extends AbstractCriterionConditions
Mappings:
Namespace Name
official ay$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 Lay$a;a:Laev;
      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/registry/RegistryKey;
    • to

      @Nullable private final @Nullable RegistryKey<World> to
      Mappings:
      Namespace Name Mixin selector
      official b Lay$a;b:Laev;
      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/registry/RegistryKey;
  • Constructor Details

    • Conditions

      Mappings:
      Namespace Name Mixin selector
      official <init> Lay$a;<init>(Ljava/util/Optional;Laev;Laev;)V
      intermediary <init> Lnet/minecraft/class_1999$class_2001;<init>(Ljava/util/Optional;Lnet/minecraft/class_5321;Lnet/minecraft/class_5321;)V
      named <init> Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;<init>(Ljava/util/Optional;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/registry/RegistryKey;)V
  • Method Details

    • create

      Mappings:
      Namespace Name Mixin selector
      official c Lay$a;c()Lam;
      intermediary method_35070 Lnet/minecraft/class_1999$class_2001;method_35070()Lnet/minecraft/class_175;
      named create Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;create()Lnet/minecraft/advancement/AdvancementCriterion;
    • create

      Mappings:
      Namespace Name Mixin selector
      official a Lay$a;a(Laev;Laev;)Lam;
      intermediary method_35068 Lnet/minecraft/class_1999$class_2001;method_35068(Lnet/minecraft/class_5321;Lnet/minecraft/class_5321;)Lnet/minecraft/class_175;
      named create Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;create(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/advancement/AdvancementCriterion;
    • to

      Mappings:
      Namespace Name Mixin selector
      official a Lay$a;a(Laev;)Lam;
      intermediary method_8799 Lnet/minecraft/class_1999$class_2001;method_8799(Lnet/minecraft/class_5321;)Lnet/minecraft/class_175;
      named to Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;to(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/advancement/AdvancementCriterion;
    • from

      Mappings:
      Namespace Name Mixin selector
      official b Lay$a;b(Laev;)Lam;
      intermediary method_35069 Lnet/minecraft/class_1999$class_2001;method_35069(Lnet/minecraft/class_5321;)Lnet/minecraft/class_175;
      named from Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;from(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/advancement/AdvancementCriterion;
    • matches

      public boolean matches(RegistryKey<World> from, RegistryKey<World> to)
      Mappings:
      Namespace Name Mixin selector
      official b Lay$a;b(Laev;Laev;)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/registry/RegistryKey;Lnet/minecraft/registry/RegistryKey;)Z
    • toJson

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