Package net.minecraft.advancement
Class Advancement.Builder
java.lang.Object
net.minecraft.advancement.Advancement.Builder
- Enclosing class:
Advancement
- Mappings:
Namespace Name named net/minecraft/advancement/Advancement$Builder
intermediary net/minecraft/class_161$class_162
official ae$a
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ImmutableMap.Builder
<String, AdvancementCriterion<?>> private Optional
<AdvancementDisplay> private Optional
<Identifier> private Optional
<AdvancementRequirements> private AdvancementRewards
private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(Consumer<AdvancementEntry> exporter, String id) build
(Identifier id) static Advancement.Builder
create()
static Advancement.Builder
criterion
(String name, AdvancementCriterion<?> criterion) display
(AdvancementDisplay display) display
(ItemConvertible icon, Text title, Text description, @Nullable Identifier background, AdvancementFrame frame, boolean showToast, boolean announceToChat, boolean hidden) display
(ItemStack icon, Text title, Text description, @Nullable Identifier background, AdvancementFrame frame, boolean showToast, boolean announceToChat, boolean hidden) parent
(AdvancementEntry parent) parent
(Identifier parentId) Deprecated, for removal: This API element is subject to removal in a future version.requirements
(AdvancementRequirements requirements) rewards
(AdvancementRewards rewards) rewards
(AdvancementRewards.Builder builder)
-
Field Details
-
parentObj
- Mappings:
Namespace Name Mixin selector named parentObj
Lnet/minecraft/advancement/Advancement$Builder;parentObj:Ljava/util/Optional;
intermediary field_1149
Lnet/minecraft/class_161$class_162;field_1149:Ljava/util/Optional;
official a
Lae$a;a:Ljava/util/Optional;
-
display
- Mappings:
Namespace Name Mixin selector named display
Lnet/minecraft/advancement/Advancement$Builder;display:Ljava/util/Optional;
intermediary field_1147
Lnet/minecraft/class_161$class_162;field_1147:Ljava/util/Optional;
official b
Lae$a;b:Ljava/util/Optional;
-
rewards
- Mappings:
Namespace Name Mixin selector named rewards
Lnet/minecraft/advancement/Advancement$Builder;rewards:Lnet/minecraft/advancement/AdvancementRewards;
intermediary field_1153
Lnet/minecraft/class_161$class_162;field_1153:Lnet/minecraft/class_170;
official c
Lae$a;c:Laj;
-
criteria
- Mappings:
Namespace Name Mixin selector named criteria
Lnet/minecraft/advancement/Advancement$Builder;criteria:Lcom/google/common/collect/ImmutableMap$Builder;
intermediary field_1148
Lnet/minecraft/class_161$class_162;field_1148:Lcom/google/common/collect/ImmutableMap$Builder;
official d
Lae$a;d:Lcom/google/common/collect/ImmutableMap$Builder;
-
requirements
- Mappings:
Namespace Name Mixin selector named requirements
Lnet/minecraft/advancement/Advancement$Builder;requirements:Ljava/util/Optional;
intermediary field_1150
Lnet/minecraft/class_161$class_162;field_1150:Ljava/util/Optional;
official e
Lae$a;e:Ljava/util/Optional;
-
merger
- Mappings:
Namespace Name Mixin selector named merger
Lnet/minecraft/advancement/Advancement$Builder;merger:Lnet/minecraft/advancement/AdvancementRequirements$CriterionMerger;
intermediary field_1151
Lnet/minecraft/class_161$class_162;field_1151:Lnet/minecraft/class_8782$class_8797;
official f
Lae$a;f:Lai$a;
-
sendsTelemetryEvent
private boolean sendsTelemetryEvent- Mappings:
Namespace Name Mixin selector named sendsTelemetryEvent
Lnet/minecraft/advancement/Advancement$Builder;sendsTelemetryEvent:Z
intermediary field_44783
Lnet/minecraft/class_161$class_162;field_44783:Z
official g
Lae$a;g:Z
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/advancement/Advancement$Builder;create()Lnet/minecraft/advancement/Advancement$Builder;
intermediary method_707
Lnet/minecraft/class_161$class_162;method_707()Lnet/minecraft/class_161$class_162;
official a
Lae$a;a()Lae$a;
-
createUntelemetered
- Mappings:
Namespace Name Mixin selector named createUntelemetered
Lnet/minecraft/advancement/Advancement$Builder;createUntelemetered()Lnet/minecraft/advancement/Advancement$Builder;
intermediary method_51698
Lnet/minecraft/class_161$class_162;method_51698()Lnet/minecraft/class_161$class_162;
official b
Lae$a;b()Lae$a;
-
parent
- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/advancement/Advancement$Builder;parent(Lnet/minecraft/advancement/AdvancementEntry;)Lnet/minecraft/advancement/Advancement$Builder;
intermediary method_701
Lnet/minecraft/class_161$class_162;method_701(Lnet/minecraft/class_8779;)Lnet/minecraft/class_161$class_162;
official a
Lae$a;a(Laf;)Lae$a;
-
parent
Deprecated, for removal: This API element is subject to removal in a future version.- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/advancement/Advancement$Builder;parent(Lnet/minecraft/util/Identifier;)Lnet/minecraft/advancement/Advancement$Builder;
intermediary method_708
Lnet/minecraft/class_161$class_162;method_708(Lnet/minecraft/class_2960;)Lnet/minecraft/class_161$class_162;
official a
Lae$a;a(Lakk;)Lae$a;
-
display
public Advancement.Builder display(ItemStack icon, Text title, Text description, @Nullable @Nullable Identifier background, AdvancementFrame frame, boolean showToast, boolean announceToChat, boolean hidden) - Mappings:
Namespace Name Mixin selector named display
Lnet/minecraft/advancement/Advancement$Builder;display(Lnet/minecraft/item/ItemStack;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Lnet/minecraft/util/Identifier;Lnet/minecraft/advancement/AdvancementFrame;ZZZ)Lnet/minecraft/advancement/Advancement$Builder;
intermediary method_20416
Lnet/minecraft/class_161$class_162;method_20416(Lnet/minecraft/class_1799;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_2960;Lnet/minecraft/class_189;ZZZ)Lnet/minecraft/class_161$class_162;
official a
Lae$a;a(Lcud;Lwu;Lwu;Lakk;Lal;ZZZ)Lae$a;
-
display
public Advancement.Builder display(ItemConvertible icon, Text title, Text description, @Nullable @Nullable Identifier background, AdvancementFrame frame, boolean showToast, boolean announceToChat, boolean hidden) - Mappings:
Namespace Name Mixin selector named display
Lnet/minecraft/advancement/Advancement$Builder;display(Lnet/minecraft/item/ItemConvertible;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Lnet/minecraft/util/Identifier;Lnet/minecraft/advancement/AdvancementFrame;ZZZ)Lnet/minecraft/advancement/Advancement$Builder;
intermediary method_697
Lnet/minecraft/class_161$class_162;method_697(Lnet/minecraft/class_1935;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_2960;Lnet/minecraft/class_189;ZZZ)Lnet/minecraft/class_161$class_162;
official a
Lae$a;a(Ldcf;Lwu;Lwu;Lakk;Lal;ZZZ)Lae$a;
-
display
- Mappings:
Namespace Name Mixin selector named display
Lnet/minecraft/advancement/Advancement$Builder;display(Lnet/minecraft/advancement/AdvancementDisplay;)Lnet/minecraft/advancement/Advancement$Builder;
intermediary method_693
Lnet/minecraft/class_161$class_162;method_693(Lnet/minecraft/class_185;)Lnet/minecraft/class_161$class_162;
official a
Lae$a;a(Lar;)Lae$a;
-
rewards
- Mappings:
Namespace Name Mixin selector named rewards
Lnet/minecraft/advancement/Advancement$Builder;rewards(Lnet/minecraft/advancement/AdvancementRewards$Builder;)Lnet/minecraft/advancement/Advancement$Builder;
intermediary method_703
Lnet/minecraft/class_161$class_162;method_703(Lnet/minecraft/class_170$class_171;)Lnet/minecraft/class_161$class_162;
official a
Lae$a;a(Laj$a;)Lae$a;
-
rewards
- Mappings:
Namespace Name Mixin selector named rewards
Lnet/minecraft/advancement/Advancement$Builder;rewards(Lnet/minecraft/advancement/AdvancementRewards;)Lnet/minecraft/advancement/Advancement$Builder;
intermediary method_706
Lnet/minecraft/class_161$class_162;method_706(Lnet/minecraft/class_170;)Lnet/minecraft/class_161$class_162;
official a
Lae$a;a(Laj;)Lae$a;
-
criterion
- Mappings:
Namespace Name Mixin selector named criterion
Lnet/minecraft/advancement/Advancement$Builder;criterion(Ljava/lang/String;Lnet/minecraft/advancement/AdvancementCriterion;)Lnet/minecraft/advancement/Advancement$Builder;
intermediary method_705
Lnet/minecraft/class_161$class_162;method_705(Ljava/lang/String;Lnet/minecraft/class_175;)Lnet/minecraft/class_161$class_162;
official a
Lae$a;a(Ljava/lang/String;Lan;)Lae$a;
-
criteriaMerger
- Mappings:
Namespace Name Mixin selector named criteriaMerger
Lnet/minecraft/advancement/Advancement$Builder;criteriaMerger(Lnet/minecraft/advancement/AdvancementRequirements$CriterionMerger;)Lnet/minecraft/advancement/Advancement$Builder;
intermediary method_704
Lnet/minecraft/class_161$class_162;method_704(Lnet/minecraft/class_8782$class_8797;)Lnet/minecraft/class_161$class_162;
official a
Lae$a;a(Lai$a;)Lae$a;
-
requirements
- Mappings:
Namespace Name Mixin selector named requirements
Lnet/minecraft/advancement/Advancement$Builder;requirements(Lnet/minecraft/advancement/AdvancementRequirements;)Lnet/minecraft/advancement/Advancement$Builder;
intermediary method_34884
Lnet/minecraft/class_161$class_162;method_34884(Lnet/minecraft/class_8782;)Lnet/minecraft/class_161$class_162;
official a
Lae$a;a(Lai;)Lae$a;
-
sendsTelemetryEvent
- Mappings:
Namespace Name Mixin selector named sendsTelemetryEvent
Lnet/minecraft/advancement/Advancement$Builder;sendsTelemetryEvent()Lnet/minecraft/advancement/Advancement$Builder;
intermediary method_53634
Lnet/minecraft/class_161$class_162;method_53634()Lnet/minecraft/class_161$class_162;
official c
Lae$a;c()Lae$a;
-
build
- Mappings:
Namespace Name Mixin selector named build
Lnet/minecraft/advancement/Advancement$Builder;build(Lnet/minecraft/util/Identifier;)Lnet/minecraft/advancement/AdvancementEntry;
intermediary method_695
Lnet/minecraft/class_161$class_162;method_695(Lnet/minecraft/class_2960;)Lnet/minecraft/class_8779;
official b
Lae$a;b(Lakk;)Laf;
-
build
- Mappings:
Namespace Name Mixin selector named build
Lnet/minecraft/advancement/Advancement$Builder;build(Ljava/util/function/Consumer;Ljava/lang/String;)Lnet/minecraft/advancement/AdvancementEntry;
intermediary method_694
Lnet/minecraft/class_161$class_162;method_694(Ljava/util/function/Consumer;Ljava/lang/String;)Lnet/minecraft/class_8779;
official a
Lae$a;a(Ljava/util/function/Consumer;Ljava/lang/String;)Laf;
-