net.minecraft.advancements

public class Advancement$Builder

af$a
net.minecraft.advancements.Advancement$Builder
net.minecraft.class_161$class_162
net.minecraft.unmapped.C_kdwyuhdb$C_dukbjvrv
net.minecraft.advancement.Advancement$Task
net.minecraft.src.C_5362_$C_5364_
net.minecraft.advancements.Advancement$SerializedAdvancement

Field summary

Modifier and TypeField
private ResourceLocation
a
parentId
field_1152
f_vihjlwld
parentId
f_138332_
private Advancement
b
parent
field_1149
f_rpvdzcby
parentObj
f_138333_
private DisplayInfo
c
display
field_1147
f_vwzzsrub
display
f_138334_
private AdvancementRewards
d
rewards
field_1153
f_gkkpggfx
rewards
f_138335_
private Map<String, Criterion>
e
criteria
field_1148
f_vlwysjpx
criteria
f_138336_
private String[][]
f
requirements
field_1150
f_cicbhyoi
requirements
f_138337_
private RequirementsStrategy
g
requirementsStrategy
field_1151
f_wpvukjwy
merger
f_138338_

Constructor summary

ModifierConstructor
(ResourceLocation parentId, DisplayInfo display, AdvancementRewards rewards, Map<String, Criterion> criteria, String[][] requirements)
private ()

Method summary

Modifier and TypeMethod
public static Advancement$Builder
a()
advancement()
method_707()
m_oqffddpf()
create()
m_138353_()
public Advancement$Builder
a(af arg0)
parent(Advancement arg0)
method_701(class_161 arg0)
m_qajnazol(C_kdwyuhdb arg0)
parent(Advancement parent)
m_138398_(C_5362_ arg0)
public Advancement$Builder
a(yh arg0)
parent(ResourceLocation arg0)
method_708(class_2960 arg0)
m_uftuvurm(C_ncpywfca arg0)
parent(Identifier parentId)
m_138396_(C_5265_ arg0)
public Advancement$Builder
a(bue arg0, pz arg1, pz arg2, yh arg3, ap 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)
m_mpypjyhz(C_sddaxwyk arg0, C_rdaqiwdt arg1, C_rdaqiwdt arg2, C_ncpywfca arg3, C_gcthizso 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(cac arg0, pz arg1, pz arg2, yh arg3, ap 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)
m_ozlfpvhc(C_gmbqjnle arg0, C_rdaqiwdt arg1, C_rdaqiwdt arg2, C_ncpywfca arg3, C_gcthizso 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(ao arg0)
display(DisplayInfo arg0)
method_693(class_185 arg0)
m_jlhvlwgp(C_bvqakncm arg0)
display(AdvancementDisplay display)
m_138358_(C_237_ arg0)
public Advancement$Builder
a(ai$a arg0)
rewards(AdvancementRewards$Builder arg0)
method_703(class_170$class_171 arg0)
m_zcasditq(C_wptigggq$C_wbctdknv arg0)
rewards(AdvancementRewards$Builder builder)
m_138354_(C_35_$C_36_ arg0)
public Advancement$Builder
a(ai arg0)
rewards(AdvancementRewards arg0)
method_706(class_170 arg0)
m_xkgvhpps(C_wptigggq arg0)
rewards(AdvancementRewards rewards)
m_138356_(C_35_ arg0)
public Advancement$Builder
a(String arg0, an arg1)
addCriterion(String arg0, CriterionTriggerInstance arg1)
method_709(String arg0, class_184 arg1)
m_sbmytplu(String arg0, C_zkhebbek arg1)
criterion(String name, CriterionConditions conditions)
m_138386_(String p_138388_, C_207_ arg1)
public Advancement$Builder
a(String arg0, ak arg1)
addCriterion(String arg0, Criterion arg1)
method_705(String arg0, class_175 arg1)
m_eiazndgf(String arg0, C_rzypsigz arg1)
criterion(String name, AdvancementCriterion criterion)
m_138383_(String p_138385_, C_109_ arg1)
public Advancement$Builder
a(aq arg0)
requirements(RequirementsStrategy arg0)
method_704(class_193 arg0)
m_xkzsdgvk(C_zucrstdb arg0)
criteriaMerger(CriterionMerger merger)
m_138360_(C_298_ arg0)
public Advancement$Builder
a(String[][] arg0)
requirements(String[][] arg0)
method_34884(String[][] arg0)
m_reylejiu(String[][] arg0)
requirements(String[][] requirements)
m_143951_(String[][] arg0)
public boolean
a(Function<yh, af> arg0)
canBuild(Function<ResourceLocation, Advancement> arg0)
method_700(Function<class_2960, class_161> arg0)
m_cvxflilg(Function<C_ncpywfca, C_kdwyuhdb> arg0)
findParent(Function<Identifier, Advancement> parentProvider)
m_138392_(Function<C_5265_, C_5362_> arg0)
public Advancement
b(yh arg0)
build(ResourceLocation arg0)
method_695(class_2960 arg0)
m_xfgxgmkz(C_ncpywfca arg0)
build(Identifier id)
m_138403_(C_5265_ arg0)
public Advancement
a(Consumer<af> arg0, String arg1)
save(Consumer<Advancement> arg0, String arg1)
method_694(Consumer<class_161> arg0, String arg1)
m_rmeizugv(Consumer<C_kdwyuhdb> arg0, String arg1)
build(Consumer<Advancement> arg0, String id)
m_138389_(Consumer<C_5362_> p_138391_, String arg1)
public com.google.gson.JsonObject
b()
serializeToJson()
method_698()
m_ojljxmci()
toJson()
m_138400_()
public void
a(pn arg0)
serializeToNetwork(FriendlyByteBuf arg0)
method_699(class_2540 arg0)
m_lrpjqgsf(C_idfydwco arg0)
toPacket(PacketByteBuf buf)
m_138394_(C_4983_ arg0)
public static Advancement$Builder
a(com.google.gson.JsonObject arg0, be arg1)
fromJson(com.google.gson.JsonObject arg0, DeserializationContext arg1)
method_692(com.google.gson.JsonObject arg0, class_5257 arg1)
m_kzctiurl(com.google.gson.JsonObject arg0, C_gzewtdot arg1)
fromJson(com.google.gson.JsonObject obj, AdvancementEntityPredicateDeserializer predicateDeserializer)
m_138380_(com.google.gson.JsonObject p_138381_, C_723_ p_138382_)
public static Advancement$Builder
b(pn arg0)
fromNetwork(FriendlyByteBuf arg0)
method_696(class_2540 arg0)
m_twscgyxr(C_idfydwco arg0)
fromPacket(PacketByteBuf buf)
m_138401_(C_4983_ p_138402_)
public Map<String, Criterion>
c()
getCriteria()
method_710()
m_ryvbkwnw()
getCriteria()
m_138405_()