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 aw$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 Law$a;a:Lacp;
      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 Law$a;b:Lacp;
      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> Law$a;<init>(Lba;Lacp;Lacp;)V
      intermediary <init> Lnet/minecraft/class_1999$class_2001;<init>(Lnet/minecraft/class_5258;Lnet/minecraft/class_5321;Lnet/minecraft/class_5321;)V
      named <init> Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/LootContextPredicate;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/registry/RegistryKey;)V
  • Method Details

    • create

      public static ChangedDimensionCriterion.Conditions create()
      Mappings:
      Namespace Name Mixin selector
      official c Law$a;c()Law$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 Law$a;a(Lacp;Lacp;)Law$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/registry/RegistryKey;Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;
    • to

      Mappings:
      Namespace Name Mixin selector
      official a Law$a;a(Lacp;)Law$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/registry/RegistryKey;)Lnet/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions;
    • from

      Mappings:
      Namespace Name Mixin selector
      official b Law$a;b(Lacp;)Law$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/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 Law$a;b(Lacp;Lacp;)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(AdvancementEntityPredicateSerializer predicateSerializer)
      Specified by:
      toJson in interface CriterionConditions
      Overrides:
      toJson in class AbstractCriterionConditions
      Mappings:
      Namespace Name Mixin selector
      official a Lam;a(Lct;)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;