net.minecraft.advancements

public class Advancement$Builder

ae$a
net.minecraft.advancements.Advancement$Builder
net.minecraft.class_161$class_162
net.minecraft.advancement.Advancement$Builder
net.minecraft.src.C_5362_$C_5364_
net.minecraft.advancements.Advancement$SerializedAdvancement

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static Advancement$Builder
a()
advancement()
method_707()
create()
m_138353_()
public static Advancement$Builder
b()
recipeAdvancement()
method_51698()
createUntelemetered()
m_285878_()
public Advancement$Builder
a(af arg0)
parent(AdvancementHolder arg0)
method_701(class_8779 arg0)
parent(AdvancementEntry parent)
m_138398_(C_290295_ arg0)
public Advancement$Builder
a(aew arg0)
parent(ResourceLocation arg0)
method_708(class_2960 arg0)
parent(Identifier parentId)
m_138396_(C_5265_ arg0)
public Advancement$Builder
a(cjf arg0, tl arg1, tl arg2, aew arg3, ar arg4, boolean arg5, boolean arg6, boolean arg7)
display(ItemStack arg0, Component arg1, Component arg2, ResourceLocation arg3, FrameType 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)
m_138362_(C_1391_ p_138364_, C_4996_ p_138365_, C_4996_ p_138366_, C_5265_ p_138367_, C_271_ p_138368_, boolean p_138369_, boolean p_138370_, boolean arg7)
public Advancement$Builder
a(cpu arg0, tl arg1, tl arg2, aew arg3, ar arg4, boolean arg5, boolean arg6, boolean arg7)
display(ItemLike arg0, Component arg1, Component arg2, ResourceLocation arg3, FrameType 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)
m_138371_(C_1595_ p_138373_, C_4996_ p_138374_, C_4996_ p_138375_, C_5265_ p_138376_, C_271_ p_138377_, boolean p_138378_, boolean p_138379_, boolean arg7)
public Advancement$Builder
a(aq arg0)
display(DisplayInfo arg0)
method_693(class_185 arg0)
display(AdvancementDisplay display)
m_138358_(C_237_ arg0)
public Advancement$Builder
a(aj$a arg0)
rewards(AdvancementRewards$Builder arg0)
method_703(class_170$class_171 arg0)
rewards(AdvancementRewards$Builder builder)
m_138354_(C_35_$C_36_ arg0)
public Advancement$Builder
a(aj arg0)
rewards(AdvancementRewards arg0)
method_706(class_170 arg0)
rewards(AdvancementRewards rewards)
m_138356_(C_35_ arg0)
public Advancement$Builder
a(String arg0, am<?> arg1)
addCriterion(String arg0, Criterion<?> arg1)
method_705(String arg0, class_175<?> arg1)
criterion(String name, AdvancementCriterion<?> criterion)
m_138383_(String p_138385_, C_109_<?> arg1)
public Advancement$Builder
a(ai$a arg0)
requirements(AdvancementRequirements$Strategy arg0)
method_704(class_8782$class_8797 arg0)
criteriaMerger(AdvancementRequirements$CriterionMerger merger)
m_138360_(C_290174_$C_290063_ arg0)
public Advancement$Builder
a(ai arg0)
requirements(AdvancementRequirements arg0)
method_34884(class_8782 arg0)
requirements(AdvancementRequirements requirements)
m_143951_(C_290174_ arg0)
public Advancement$Builder
c()
sendsTelemetryEvent()
method_53634()
sendsTelemetryEvent()
m_293041_()
public AdvancementHolder
b(aew arg0)
build(ResourceLocation arg0)
method_695(class_2960 arg0)
build(Identifier id)
m_138403_(C_5265_ arg0)
public AdvancementHolder
a(Consumer<af> arg0, String arg1)
save(Consumer<AdvancementHolder> arg0, String arg1)
method_694(Consumer<class_8779> arg0, String arg1)
build(Consumer<AdvancementEntry> exporter, String id)
m_138389_(Consumer<C_290295_> p_138391_, String arg1)