net.minecraft.advancement

public enum AdvancementFrame

implements StringIdentifiable

net.minecraft.advancements.AdvancementType
net.minecraft.class_189
net.minecraft.advancement.AdvancementFrame

Enum constant summary

Enum Constant
TASK
field_1254
TASK
CHALLENGE
field_1250
CHALLENGE
GOAL
field_1249
GOAL

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<AdvancementFrame>
CODEC
field_47186
CODEC
private static final IntFunction<AdvancementFrame>
BY_ID
field_1_10069
INDEX_TO_VALUE
public static final PacketCodec<io.netty.buffer.ByteBuf, AdvancementFrame>
STREAM_CODEC
field_1_10070
PACKET_CODEC
private final int
id
field_1_10071
index
private final String
name
field_1251
name
private final Formatting
chatColor
field_1255
titleFormat
private final Text
displayName
field_26386
toastText
private static final AdvancementFrame[]
$VALUES

Constructor summary

ModifierConstructor
private (int $enum$name, String $enum$ordinal, Formatting index)

Method summary

Modifier and TypeMethod
public Formatting
getChatColor()
method_830()
getTitleFormat()
public Text
getDisplayName()
method_30756()
getToastText()
public String
getSerializedName()
method_15434()
asString()
public MutableText
createAnnouncement(AdvancementHolder holder, ServerPlayer player)
method_54932(class_8779 arg0, class_3222 arg1)
getChatAnnouncementText(AdvancementEntry advancementEntry, ServerPlayerEntity player)
private static AdvancementFrame[]
$values()
method_36593()
method_36593()
private static int
lambda$static$1(AdvancementType arg0)
method_1_9783(class_189 arg0)
method_1_9783(AdvancementFrame frame)
private static int
lambda$static$0(AdvancementType arg0)
method_1_9782(class_189 arg0)
method_1_9782(AdvancementFrame frame)