net.minecraft.advancements

public class DisplayInfo

au
net.minecraft.advancements.DisplayInfo
net.minecraft.class_185
net.minecraft.unmapped.C_bvqakncm
net.minecraft.advancement.AdvancementDisplay
net.minecraft.advancement.AdvancementDisplay

Field summary

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

Constructor summary

ModifierConstructor
public (ItemStack icon, Component title, Component description, Optional<ClientAsset> 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)
public Component
a()
getTitle()
method_811()
m_axxsgbbh()
getTitle()
getTitle()
public Component
b()
getDescription()
method_817()
m_gxawxbty()
getDescription()
getDescription()
public ItemStack
c()
getIcon()
method_821()
m_fslmbthk()
getIcon()
getIcon()
public Optional<ClientAsset>
d()
getBackground()
method_812()
m_rrhjbvlh()
getBackground()
getBackground()
public AdvancementType
e()
getType()
method_815()
m_spcgkfjs()
getFrame()
getType()
public float
f()
getX()
method_818()
m_qepjmlpk()
getX()
getX()
public float
g()
getY()
method_819()
m_pzykhctp()
getY()
getY()
public boolean
h()
shouldShowToast()
method_823()
m_szkyblby()
shouldShowToast()
shouldShowToast()
public boolean
i()
shouldAnnounceChat()
method_808()
m_hhbgzigh()
shouldAnnounceToChat()
shouldAnnounceToChat()
public boolean
j()
isHidden()
method_824()
m_vrevbmdj()
isHidden()
isHidden()
private void
a(wj arg0)
serializeToNetwork(RegistryFriendlyByteBuf arg0)
method_813(class_9129 arg0)
m_jhcmytjo(C_bngyzsts arg0)
toPacket(RegistryByteBuf buf)
toPacket(RegistryByteBuf buf)
private static DisplayInfo
b(wj arg0)
fromNetwork(RegistryFriendlyByteBuf arg0)
method_820(class_9129 arg0)
m_asmgeqym(C_bngyzsts arg0)
fromPacket(RegistryByteBuf buf)
fromPacket(RegistryByteBuf buf)