net.minecraft.advancements

public class Advancement$Builder

ag$a
net.minecraft.advancements.Advancement$Builder
net.minecraft.class_161$class_162
net.minecraft.advancement.Advancement$Builder
net.minecraft.advancements.Advancement$SerializedAdvancement

Field summary

Modifier and TypeField
private Optional<ResourceLocation>
a
parent
field_1149
parentObj
private Optional<DisplayInfo>
b
display
field_1147
display
private AdvancementRewards
c
rewards
field_1153
rewards
private final com.google.common.collect.ImmutableMap$Builder<String, Criterion<?>>
d
criteria
field_1148
criteria
private Optional<AdvancementRequirements>
e
requirements
field_1150
requirements
private AdvancementRequirements$Strategy
f
requirementsStrategy
field_1151
merger
private boolean
g
sendsTelemetryEvent
field_44783
sendsTelemetryEvent

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static Advancement$Builder
a()
advancement()
method_707()
create()
public static Advancement$Builder
b()
recipeAdvancement()
method_51698()
createUntelemetered()
public Advancement$Builder
a(ah arg0)
parent(AdvancementHolder arg0)
method_701(class_8779 arg0)
parent(AdvancementEntry parent)
public Advancement$Builder
a(alz arg0)
parent(ResourceLocation arg0)
method_708(class_2960 arg0)
parent(Identifier parentId)
public Advancement$Builder
a(cxp arg0, xv arg1, xv arg2, alz arg3, an arg4, boolean arg5, boolean arg6, boolean arg7)
display(ItemStack arg0, Component arg1, Component arg2, ResourceLocation arg3, AdvancementType arg4, boolean arg5, boolean arg6, boolean arg7)
method_20416(class_1799 arg0, class_2561 arg1, class_2561 arg2, class_2960 arg3, class_189 arg4, boolean arg5, boolean arg6, boolean arg7)
display(ItemStack icon, Text title, Text description, Identifier background, AdvancementFrame frame, boolean showToast, boolean announceToChat, boolean hidden)
public Advancement$Builder
a(dhh arg0, xv arg1, xv arg2, alz arg3, an arg4, boolean arg5, boolean arg6, boolean arg7)
display(ItemLike arg0, Component arg1, Component arg2, ResourceLocation arg3, AdvancementType arg4, boolean arg5, boolean arg6, boolean arg7)
method_697(class_1935 arg0, class_2561 arg1, class_2561 arg2, class_2960 arg3, class_189 arg4, boolean arg5, boolean arg6, boolean arg7)
display(ItemConvertible icon, Text title, Text description, Identifier background, AdvancementFrame frame, boolean showToast, boolean announceToChat, boolean hidden)
public Advancement$Builder
a(at arg0)
display(DisplayInfo arg0)
method_693(class_185 arg0)
display(AdvancementDisplay display)
public Advancement$Builder
a(al$a arg0)
rewards(AdvancementRewards$Builder arg0)
method_703(class_170$class_171 arg0)
rewards(AdvancementRewards$Builder builder)
public Advancement$Builder
a(al arg0)
rewards(AdvancementRewards arg0)
method_706(class_170 arg0)
rewards(AdvancementRewards rewards)
public Advancement$Builder
a(String arg0, ap<?> arg1)
addCriterion(String arg0, Criterion<?> arg1)
method_705(String arg0, class_175<?> arg1)
criterion(String name, AdvancementCriterion<?> criterion)
public Advancement$Builder
a(ak$a arg0)
requirements(AdvancementRequirements$Strategy arg0)
method_704(class_8782$class_8797 arg0)
criteriaMerger(AdvancementRequirements$CriterionMerger merger)
public Advancement$Builder
a(ak arg0)
requirements(AdvancementRequirements arg0)
method_34884(class_8782 arg0)
requirements(AdvancementRequirements requirements)
public Advancement$Builder
c()
sendsTelemetryEvent()
method_53634()
sendsTelemetryEvent()
public AdvancementHolder
b(alz arg0)
build(ResourceLocation arg0)
method_695(class_2960 arg0)
build(Identifier id)
public AdvancementHolder
a(Consumer<ah> arg0, String arg1)
save(Consumer<AdvancementHolder> arg0, String arg1)
method_694(Consumer<class_8779> arg0, String arg1)
build(Consumer<AdvancementEntry> exporter, String id)