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>
b
parent
comp_1912
f_cbfwvpgh
parent
parent
f_138298_
private final Optional<DisplayInfo>
c
display
comp_1913
f_eykiurph
display
display
f_138299_
private final AdvancementRewards
d
rewards
comp_1914
f_uhuyjydl
rewards
rewards
f_138300_
private final Map<String, Criterion<?>>
e
criteria
comp_1915
f_eqsfnrjr
criteria
criteria
f_138302_
private final AdvancementRequirements
f
requirements
comp_1916
f_emngvigd
requirements
requirements
f_138303_
private final boolean
g
sendsTelemetryEvent
comp_1917
f_nwvdgawt
sendsTelemetryEvent
sendsTelemetryEvent
f_285575_
private final Optional<Component>
h
name
comp_1918
f_njhcraol
name
name
f_291795_
private static final com.mojang.serialization.Codec<Map<String, Criterion<?>>>
i
CRITERIA_CODEC
field_47180
f_bpbcihch
CRITERIA_CODEC
f_302506_
public static final com.mojang.serialization.Codec<Advancement>
a
CODEC
field_47179
f_ncipkedb
CODEC
f_303179_

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 com.mojang.serialization.DataResult<Advancement>
a(ae arg0)
validate(Advancement arg0)
method_54910(class_161 arg0)
m_pzwagfwo(C_kdwyuhdb arg0)
validate(Advancement advancement)
m_307846_(C_5362_ p_312373_)
private static Component
a(ar arg0)
decorateName(DisplayInfo arg0)
method_53623(class_185 arg0)
m_xbcnitcp(C_bvqakncm arg0)
createNameFromDisplay(AdvancementDisplay display)
createText(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)
getText(AdvancementHolder advancementHolder)
m_292915_(C_290295_ p_297556_)
public void
a(ui arg0)
write(FriendlyByteBuf arg0)
method_53627(class_2540 arg0)
m_xfimowjn(C_idfydwco arg0)
write(PacketByteBuf buf)
toPacket(PacketByteBuf buf)
m_295649_(C_4983_ arg0)
public static Advancement
b(ui arg0)
read(FriendlyByteBuf arg0)
method_53632(class_2540 arg0)
m_hpxxrezd(C_idfydwco arg0)
read(PacketByteBuf buf)
fromPacket(PacketByteBuf buf)
m_293151_(C_4983_ p_300670_)
public boolean
a()
isRoot()
method_53630()
m_wsihwdxp()
isRoot()
empty()
m_295578_()
public void
a(aut arg0, eha arg1)
validate(ProblemReporter arg0, LootDataResolver arg1)
method_54912(class_8942 arg0, class_8489 arg1)
m_jvmczssc(C_jtpvewkp arg0, C_srnkfpki arg1)
validate(ErrorReporter errorReporter, LootDataLookup conditionsLookup)
m_306920_(C_302123_ p_311286_, C_278352_ arg1)
public Optional<ResourceLocation>
b()
parent()
comp_1912()
m_htjukofs()
parent()
parent()
f_138298_()
public Optional<DisplayInfo>
c()
display()
comp_1913()
m_wngxatfp()
display()
display()
f_138299_()
public AdvancementRewards
d()
rewards()
comp_1914()
m_ofikdsfj()
rewards()
rewards()
f_138300_()
public Map<String, Criterion<?>>
e()
criteria()
comp_1915()
m_xazdqguv()
criteria()
criteria()
f_138302_()
public AdvancementRequirements
f()
requirements()
comp_1916()
m_vdmpoqil()
requirements()
requirements()
f_138303_()
public boolean
g()
sendsTelemetryEvent()
comp_1917()
m_ggypmlkv()
sendsTelemetryEvent()
sendsTelemetryEvent()
f_285575_()
public Optional<Component>
h()
name()
comp_1918()
m_vfnevnhx()
name()
name()
f_291795_()