net.minecraft.advancements

public record Advancement

ae
net.minecraft.advancements.Advancement
net.minecraft.class_161
net.minecraft.unmapped.C_kdwyuhdb
net.minecraft.advancement.Advancement
net.minecraft.advancement.Advancement
net.minecraft.src.C_5362_
net.minecraft.advancements.Advancement

Field summary

Modifier and TypeField
private final Optional<ResourceLocation>
a
parent
comp_1912
f_cbfwvpgh
parent
parent
f_138298_
private final Optional<DisplayInfo>
b
display
comp_1913
f_eykiurph
display
display
f_138299_
private final AdvancementRewards
c
rewards
comp_1914
f_uhuyjydl
rewards
rewards
f_138300_
private final Map<String, Criterion<?>>
d
criteria
comp_1915
f_eqsfnrjr
criteria
criteria
f_138302_
private final AdvancementRequirements
e
requirements
comp_1916
f_emngvigd
requirements
requirements
f_138303_
private final boolean
f
sendsTelemetryEvent
comp_1917
f_nwvdgawt
sendsTelemetryEvent
sendsTelemetryEvent
f_285575_
private final Optional<Component>
g
name
comp_1918
f_njhcraol
name
name
f_291795_

Constructor summary

ModifierConstructor
public (Optional<ResourceLocation> parent, Optional<DisplayInfo> display, AdvancementRewards rewards, Map<String, Criterion<?>> criteria, AdvancementRequirements requirements, boolean sendsTelemetryEvent)
public (Optional<ResourceLocation> parent, Optional<DisplayInfo> display, AdvancementRewards rewards, Map<String, Criterion<?>> criteria, AdvancementRequirements requirements, boolean sendsTelemetryEvent, Optional<Component> name)

Method summary

Modifier and TypeMethod
private static Component
a(aq arg0)
decorateName(DisplayInfo arg0)
method_53623(class_185 arg0)
m_xbcnitcp(C_bvqakncm arg0)
createNameFromDisplay(AdvancementDisplay display)
m_294861_(C_237_ p_300038_)
public static Component
a(af arg0)
name(AdvancementHolder arg0)
method_53622(class_8779 arg0)
m_swogstqz(C_unoypvme arg0)
getNameFromIdentity(AdvancementEntry identifiedAdvancement)
m_292915_(C_290295_ p_297556_)
public com.google.gson.JsonObject
a()
serializeToJson()
method_53621()
m_bqlcljku()
toJson()
m_294498_()
public static Advancement
a(com.google.gson.JsonObject arg0, bg arg1)
fromJson(com.google.gson.JsonObject arg0, DeserializationContext arg1)
method_53626(com.google.gson.JsonObject arg0, class_5257 arg1)
m_ojjmhgkm(com.google.gson.JsonObject arg0, C_gzewtdot arg1)
fromJson(com.google.gson.JsonObject json, AdvancementEntityPredicateDeserializer predicateDeserializer)
m_294730_(com.google.gson.JsonObject p_300691_, C_723_ p_300053_)
public void
a(so arg0)
write(FriendlyByteBuf arg0)
method_53627(class_2540 arg0)
m_xfimowjn(C_idfydwco arg0)
write(PacketByteBuf buf)
m_xfimowjn(PacketByteBuf buf)
m_295649_(C_4983_ arg0)
public static Advancement
b(so arg0)
read(FriendlyByteBuf arg0)
method_53632(class_2540 arg0)
m_hpxxrezd(C_idfydwco arg0)
read(PacketByteBuf buf)
m_hpxxrezd(PacketByteBuf buf)
m_293151_(C_4983_ p_300670_)
public boolean
b()
isRoot()
method_53630()
m_wsihwdxp()
isRoot()
m_295578_()
public Optional<ResourceLocation>
c()
parent()
comp_1912()
m_htjukofs()
parent()
parent()
f_138298_()
public Optional<DisplayInfo>
d()
display()
comp_1913()
m_wngxatfp()
display()
display()
f_138299_()
public AdvancementRewards
e()
rewards()
comp_1914()
m_ofikdsfj()
rewards()
rewards()
f_138300_()
public Map<String, Criterion<?>>
f()
criteria()
comp_1915()
m_xazdqguv()
criteria()
criteria()
f_138302_()
public AdvancementRequirements
g()
requirements()
comp_1916()
m_vdmpoqil()
requirements()
requirements()
f_138303_()
public boolean
h()
sendsTelemetryEvent()
comp_1917()
m_ggypmlkv()
sendsTelemetryEvent()
doesSendTelemetryEvent()
f_285575_()
public Optional<Component>
i()
name()
comp_1918()
m_vfnevnhx()
name()
name()
f_291795_()