net.minecraft.advancements

public enum AdvancementType

implements StringRepresentable

am
net.minecraft.advancements.AdvancementType
net.minecraft.class_189
net.minecraft.advancement.AdvancementFrame
net.minecraft.src.C_301955_
net.minecraft.advancements.AdvancementFrameType

Enum constant summary

Enum Constant
a
TASK
field_1254
TASK
TASK
b
CHALLENGE
field_1250
CHALLENGE
CHALLENGE
c
GOAL
field_1249
GOAL
GOAL

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<AdvancementType>
d
CODEC
field_47186
CODEC
f_303602_
private final String
e
name
field_1251
id
f_303261_
private final ChatFormatting
f
chatColor
field_1255
titleFormat
f_303078_
private final Component
g
displayName
field_26386
toastText
f_302214_

Constructor summary

ModifierConstructor
private (String p_310606_, ChatFormatting p_309637_)

Method summary

Modifier and TypeMethod
public ChatFormatting
a()
getChatColor()
method_830()
getTitleFormat()
m_305069_()
public Component
b()
getDisplayName()
method_30756()
getToastText()
m_306854_()
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()
public MutableComponent
a(ag arg0, aqv arg1)
createAnnouncement(AdvancementHolder arg0, ServerPlayer arg1)
method_54932(class_8779 arg0, class_3222 arg1)
getChatAnnouncementText(AdvancementEntry advancementEntry, ServerPlayerEntity player)
m_305571_(C_290295_ p_311407_, C_13_ arg1)