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 aq$a
intermediary net/minecraft/class_1999$class_2001
named net/minecraft/advancement/criterion/ChangedDimensionCriterion$Conditions
  • Field Details

    • from

      @Nullable private final RegistryKey<World> from
      Mappings:
      Namespace Name Mixin selector
      official a Laq$a;a:Lwa;
      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 RegistryKey<World> to
      Mappings:
      Namespace Name Mixin selector
      official b Laq$a;b:Lwa;
      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

      public Conditions​(EntityPredicate.Extended player, @Nullable RegistryKey<World> from, @Nullable RegistryKey<World> to)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laq$a;<init>(Lbg$b;Lwa;Lwa;)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

    • to

      Mappings:
      Namespace Name Mixin selector
      official a Laq$a;a(Lwa;)Laq$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;
    • matches

      public boolean matches​(RegistryKey<World> from, RegistryKey<World> to)
      Mappings:
      Namespace Name Mixin selector
      official b Laq$a;b(Lwa;Lwa;)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 Lag;a(Lci;)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;