Package net.minecraft.advancement
Class Advancement
java.lang.Object
net.minecraft.advancement.Advancement
- Mappings:
Namespace Name official ae
intermediary net/minecraft/class_161
named net/minecraft/advancement/Advancement
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Set<Advancement>
private final Map<String,
AdvancementCriterion> private final @Nullable AdvancementDisplay
private final Identifier
private final @Nullable Advancement
private final String[][]
private final AdvancementRewards
private final Text
-
Constructor Summary
ConstructorDescriptionAdvancement
(Identifier id, @Nullable Advancement parent, @Nullable AdvancementDisplay display, AdvancementRewards rewards, Map<String, AdvancementCriterion> criteria, String[][] requirements) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(Advancement child) boolean
getId()
int
String[][]
getRoot()
static Advancement
getRoot
(Advancement advancement) int
hashCode()
toString()
-
Field Details
-
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
- 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
- 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
- Mappings:
Namespace Name Mixin selector official d
Lae;d:Ladd;
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
- 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
- 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
- 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
- Mappings:
Namespace Name Mixin selector official h
Lae;h:Ltj;
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>(Ladd;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
- 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$Builder;
-
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;
-
getRoot
- Mappings:
Namespace Name Mixin selector official c
Lae;c()Lae;
intermediary method_48024
Lnet/minecraft/class_161;method_48024()Lnet/minecraft/class_161;
named getRoot
Lnet/minecraft/advancement/Advancement;getRoot()Lnet/minecraft/advancement/Advancement;
-
getRoot
- Mappings:
Namespace Name Mixin selector official a
Lae;a(Lae;)Lae;
intermediary method_48023
Lnet/minecraft/class_161;method_48023(Lnet/minecraft/class_161;)Lnet/minecraft/class_161;
named getRoot
Lnet/minecraft/advancement/Advancement;getRoot(Lnet/minecraft/advancement/Advancement;)Lnet/minecraft/advancement/Advancement;
-
getDisplay
- Mappings:
Namespace Name Mixin selector official d
Lae;d()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
- Mappings:
Namespace Name Mixin selector official e
Lae;e()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
-
getChildren
- Mappings:
Namespace Name Mixin selector official f
Lae;f()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
- Mappings:
Namespace Name Mixin selector official g
Lae;g()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 h
Lae;h()I
intermediary method_683
Lnet/minecraft/class_161;method_683()I
named getRequirementCount
Lnet/minecraft/advancement/Advancement;getRequirementCount()I
-
addChild
- Mappings:
Namespace Name Mixin selector official b
Lae;b(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
- Mappings:
Namespace Name Mixin selector official i
Lae;i()Ladd;
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
-
hashCode
public int hashCode() -
getRequirements
- Mappings:
Namespace Name Mixin selector official j
Lae;j()[[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
- Mappings:
Namespace Name Mixin selector official k
Lae;k()Ltj;
intermediary method_684
Lnet/minecraft/class_161;method_684()Lnet/minecraft/class_2561;
named toHoverableText
Lnet/minecraft/advancement/Advancement;toHoverableText()Lnet/minecraft/text/Text;
-