net.minecraft.advancements

public class DisplayInfo

ar
net.minecraft.advancements.DisplayInfo
net.minecraft.class_185
net.minecraft.unmapped.C_bvqakncm
net.minecraft.advancement.AdvancementDisplay
net.minecraft.advancement.AdvancementDisplay
net.minecraft.src.C_237_
net.minecraft.advancements.AdvancementDisplay

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<DisplayInfo>
a
CODEC
field_47190
f_udjdtqec
CODEC
CODEC
f_302437_
public static final StreamCodec<RegistryFriendlyByteBuf, DisplayInfo>
b
STREAM_CODEC
field_48276
f_ktnisvwv
PACKET_CODEC
PACKET_CODEC
f_314089_
private final Component
c
title
field_1240
f_rrekahiq
title
title
f_14958_
private final Component
d
description
field_1242
f_pmsclssl
description
description
f_14959_
private final ItemStack
e
icon
field_1241
f_wlsljbis
icon
icon
f_14960_
private final Optional<ResourceLocation>
f
background
field_1243
f_zkcdxfqd
background
background
f_14961_
private final AdvancementType
g
type
field_1237
f_qnsndlza
frame
type
f_302420_
private final boolean
h
showToast
field_1239
f_mbfqtzfa
showToast
showToast
f_14963_
private final boolean
i
announceChat
field_1238
f_ainngiac
announceToChat
announceToChat
f_14964_
private final boolean
j
hidden
field_1236
f_rmagsfyq
hidden
hidden
f_14965_
private float
k
x
field_1245
f_ixbarfzi
x
x
f_14966_
private float
l
y
field_1244
f_jzkkgjeq
y
y
f_14967_

Constructor summary

ModifierConstructor
public (ItemStack icon, Component title, Component description, Optional<ResourceLocation> background, AdvancementType frame, boolean showToast, boolean announceToChat, boolean hidden)

Method summary

Modifier and TypeMethod
public void
a(float arg0, float arg1)
setLocation(float arg0, float arg1)
method_816(float arg0, float arg1)
m_taxswuiw(float arg0, float arg1)
setPos(float x, float y)
setPos(float x, float y)
m_14978_(float p_14980_, float arg1)
public Component
a()
getTitle()
method_811()
m_axxsgbbh()
getTitle()
getTitle()
m_14977_()
public Component
b()
getDescription()
method_817()
m_gxawxbty()
getDescription()
getDescription()
m_14985_()
public ItemStack
c()
getIcon()
method_821()
m_fslmbthk()
getIcon()
getIcon()
m_14990_()
public Optional<ResourceLocation>
d()
getBackground()
method_812()
m_rrhjbvlh()
getBackground()
getBackground()
m_14991_()
public AdvancementType
e()
getType()
method_815()
m_spcgkfjs()
getFrame()
getType()
m_306629_()
public float
f()
getX()
method_818()
m_qepjmlpk()
getX()
getX()
m_14993_()
public float
g()
getY()
method_819()
m_pzykhctp()
getY()
getY()
m_14994_()
public boolean
h()
shouldShowToast()
method_823()
m_szkyblby()
shouldShowToast()
shouldShowToast()
m_14995_()
public boolean
i()
shouldAnnounceChat()
method_808()
m_hhbgzigh()
shouldAnnounceToChat()
shouldAnnounceToChat()
m_14996_()
public boolean
j()
isHidden()
method_824()
m_vrevbmdj()
isHidden()
isHidden()
m_14997_()
private void
a(xa arg0)
serializeToNetwork(RegistryFriendlyByteBuf arg0)
method_813(class_9129 arg0)
m_jhcmytjo(C_bngyzsts arg0)
toPacket(RegistryByteBuf buf)
toPacket(RegistryByteBuf buf)
m_14983_(C_313350_ arg0)
private static DisplayInfo
b(xa arg0)
fromNetwork(RegistryFriendlyByteBuf arg0)
method_820(class_9129 arg0)
m_asmgeqym(C_bngyzsts arg0)
fromPacket(RegistryByteBuf buf)
fromPacket(RegistryByteBuf buf)
m_14988_(C_313350_ p_330340_)