Class Advancement

java.lang.Object
net.minecraft.advancement.Advancement

public class Advancement extends Object
Mappings:
Namespace Name
official ae
intermediary net/minecraft/class_161
named net/minecraft/advancement/Advancement
  • Field Details

    • parent

      private final Advancement parent
      Mappings:
      Namespace Name Mixin selector
      official a Lae;a:Lae;
      intermediary field_1143 Lnet/minecraft/class_161;field_1143:Lnet/minecraft/class_161;
      named parent Lnet/minecraft/advancement/Advancement;parent:Lnet/minecraft/advancement/Advancement;
    • display

      private final AdvancementDisplay display
      Mappings:
      Namespace Name Mixin selector
      official b Lae;b:Lan;
      intermediary field_1146 Lnet/minecraft/class_161;field_1146:Lnet/minecraft/class_185;
      named display Lnet/minecraft/advancement/Advancement;display:Lnet/minecraft/advancement/AdvancementDisplay;
    • rewards

      private final AdvancementRewards rewards
      Mappings:
      Namespace Name Mixin selector
      official c Lae;c:Lah;
      intermediary field_1145 Lnet/minecraft/class_161;field_1145:Lnet/minecraft/class_170;
      named rewards Lnet/minecraft/advancement/Advancement;rewards:Lnet/minecraft/advancement/AdvancementRewards;
    • id

      private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      official d Lae;d:Lww;
      intermediary field_1144 Lnet/minecraft/class_161;field_1144:Lnet/minecraft/class_2960;
      named id Lnet/minecraft/advancement/Advancement;id:Lnet/minecraft/util/Identifier;
    • criteria

      private final Map<String,​AdvancementCriterion> criteria
      Mappings:
      Namespace Name Mixin selector
      official e Lae;e:Ljava/util/Map;
      intermediary field_1139 Lnet/minecraft/class_161;field_1139:Ljava/util/Map;
      named criteria Lnet/minecraft/advancement/Advancement;criteria:Ljava/util/Map;
    • requirements

      private final String[][] requirements
      Mappings:
      Namespace Name Mixin selector
      official f Lae;f:[[Ljava/lang/String;
      intermediary field_1142 Lnet/minecraft/class_161;field_1142:[[Ljava/lang/String;
      named requirements Lnet/minecraft/advancement/Advancement;requirements:[[Ljava/lang/String;
    • children

      private final Set<Advancement> children
      Mappings:
      Namespace Name Mixin selector
      official g Lae;g:Ljava/util/Set;
      intermediary field_1140 Lnet/minecraft/class_161;field_1140:Ljava/util/Set;
      named children Lnet/minecraft/advancement/Advancement;children:Ljava/util/Set;
    • text

      private final Text text
      Mappings:
      Namespace Name Mixin selector
      official h Lae;h:Los;
      intermediary field_1141 Lnet/minecraft/class_161;field_1141:Lnet/minecraft/class_2561;
      named text Lnet/minecraft/advancement/Advancement;text:Lnet/minecraft/text/Text;
  • Constructor Details

    • Advancement

      public Advancement(Identifier id, @Nullable @Nullable Advancement parent, @Nullable @Nullable AdvancementDisplay display, AdvancementRewards rewards, Map<String,​AdvancementCriterion> criteria, String[][] requirements)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lae;<init>(Lww;Lae;Lan;Lah;Ljava/util/Map;[[Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_161;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_161;Lnet/minecraft/class_185;Lnet/minecraft/class_170;Ljava/util/Map;[[Ljava/lang/String;)V
      named <init> Lnet/minecraft/advancement/Advancement;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/advancement/Advancement;Lnet/minecraft/advancement/AdvancementDisplay;Lnet/minecraft/advancement/AdvancementRewards;Ljava/util/Map;[[Ljava/lang/String;)V
  • Method Details

    • createTask

      public Advancement.Task createTask()
      Mappings:
      Namespace Name Mixin selector
      official a Lae;a()Lae$a;
      intermediary method_689 Lnet/minecraft/class_161;method_689()Lnet/minecraft/class_161$class_162;
      named createTask Lnet/minecraft/advancement/Advancement;createTask()Lnet/minecraft/advancement/Advancement$Task;
    • getParent

      @Nullable public @Nullable Advancement getParent()
      Mappings:
      Namespace Name Mixin selector
      official b Lae;b()Lae;
      intermediary method_687 Lnet/minecraft/class_161;method_687()Lnet/minecraft/class_161;
      named getParent Lnet/minecraft/advancement/Advancement;getParent()Lnet/minecraft/advancement/Advancement;
    • getDisplay

      @Nullable public @Nullable AdvancementDisplay getDisplay()
      Mappings:
      Namespace Name Mixin selector
      official c Lae;c()Lan;
      intermediary method_686 Lnet/minecraft/class_161;method_686()Lnet/minecraft/class_185;
      named getDisplay Lnet/minecraft/advancement/Advancement;getDisplay()Lnet/minecraft/advancement/AdvancementDisplay;
    • getRewards

      public AdvancementRewards getRewards()
      Mappings:
      Namespace Name Mixin selector
      official d Lae;d()Lah;
      intermediary method_691 Lnet/minecraft/class_161;method_691()Lnet/minecraft/class_170;
      named getRewards Lnet/minecraft/advancement/Advancement;getRewards()Lnet/minecraft/advancement/AdvancementRewards;
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getChildren

      public Iterable<Advancement> getChildren()
      Mappings:
      Namespace Name Mixin selector
      official e Lae;e()Ljava/lang/Iterable;
      intermediary method_681 Lnet/minecraft/class_161;method_681()Ljava/lang/Iterable;
      named getChildren Lnet/minecraft/advancement/Advancement;getChildren()Ljava/lang/Iterable;
    • getCriteria

      public Map<String,​AdvancementCriterion> getCriteria()
      Mappings:
      Namespace Name Mixin selector
      official f Lae;f()Ljava/util/Map;
      intermediary method_682 Lnet/minecraft/class_161;method_682()Ljava/util/Map;
      named getCriteria Lnet/minecraft/advancement/Advancement;getCriteria()Ljava/util/Map;
    • getRequirementCount

      public int getRequirementCount()
      Mappings:
      Namespace Name Mixin selector
      official g Lae;g()I
      intermediary method_683 Lnet/minecraft/class_161;method_683()I
      named getRequirementCount Lnet/minecraft/advancement/Advancement;getRequirementCount()I
    • addChild

      public void addChild(Advancement child)
      Mappings:
      Namespace Name Mixin selector
      official a Lae;a(Lae;)V
      intermediary method_690 Lnet/minecraft/class_161;method_690(Lnet/minecraft/class_161;)V
      named addChild Lnet/minecraft/advancement/Advancement;addChild(Lnet/minecraft/advancement/Advancement;)V
    • getId

      public Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official h Lae;h()Lww;
      intermediary method_688 Lnet/minecraft/class_161;method_688()Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/advancement/Advancement;getId()Lnet/minecraft/util/Identifier;
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Lae;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_161;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/advancement/Advancement;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getRequirements

      public String[][] getRequirements()
      Mappings:
      Namespace Name Mixin selector
      official i Lae;i()[[Ljava/lang/String;
      intermediary method_680 Lnet/minecraft/class_161;method_680()[[Ljava/lang/String;
      named getRequirements Lnet/minecraft/advancement/Advancement;getRequirements()[[Ljava/lang/String;
    • toHoverableText

      public Text toHoverableText()
      Mappings:
      Namespace Name Mixin selector
      official j Lae;j()Los;
      intermediary method_684 Lnet/minecraft/class_161;method_684()Lnet/minecraft/class_2561;
      named toHoverableText Lnet/minecraft/advancement/Advancement;toHoverableText()Lnet/minecraft/text/Text;