net.minecraft.advancements

public class DisplayInfo

aq
net.minecraft.advancements.DisplayInfo
net.minecraft.class_185
net.minecraft.advancement.AdvancementDisplay
net.minecraft.src.C_237_
net.minecraft.advancements.AdvancementDisplay

Field summary

Modifier and TypeField
private final Component
a
title
field_1240
title
f_14958_
private final Component
b
description
field_1242
description
f_14959_
private final ItemStack
c
icon
field_1241
icon
f_14960_
private final ResourceLocation
d
background
field_1243
background
f_14961_
private final FrameType
e
frame
field_1237
frame
f_14962_
private final boolean
f
showToast
field_1239
showToast
f_14963_
private final boolean
g
announceChat
field_1238
announceToChat
f_14964_
private final boolean
h
hidden
field_1236
hidden
f_14965_
private float
i
x
field_1245
x
f_14966_
private float
j
y
field_1244
y
f_14967_

Constructor summary

ModifierConstructor
public (ItemStack icon, Component title, Component description, ResourceLocation background, FrameType 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)
setPos(float x, float y)
m_14978_(float p_14980_, float arg1)
public Component
a()
getTitle()
method_811()
getTitle()
m_14977_()
public Component
b()
getDescription()
method_817()
getDescription()
m_14985_()
public ItemStack
c()
getIcon()
method_821()
getIcon()
m_14990_()
public ResourceLocation
d()
getBackground()
method_812()
getBackground()
m_14991_()
public FrameType
e()
getFrame()
method_815()
getFrame()
m_14992_()
public float
f()
getX()
method_818()
getX()
m_14993_()
public float
g()
getY()
method_819()
getY()
m_14994_()
public boolean
h()
shouldShowToast()
method_823()
shouldShowToast()
m_14995_()
public boolean
i()
shouldAnnounceChat()
method_808()
shouldAnnounceToChat()
m_14996_()
public boolean
j()
isHidden()
method_824()
isHidden()
m_14997_()
public static DisplayInfo
a(com.google.gson.JsonObject arg0)
fromJson(com.google.gson.JsonObject arg0)
method_809(com.google.gson.JsonObject arg0)
fromJson(com.google.gson.JsonObject obj)
m_14981_(com.google.gson.JsonObject p_14982_)
private static ItemStack
b(com.google.gson.JsonObject arg0)
getIcon(com.google.gson.JsonObject arg0)
method_822(com.google.gson.JsonObject arg0)
iconFromJson(com.google.gson.JsonObject json)
m_14986_(com.google.gson.JsonObject p_14987_)
public void
a(so arg0)
serializeToNetwork(FriendlyByteBuf arg0)
method_813(class_2540 arg0)
toPacket(PacketByteBuf buf)
m_14983_(C_4983_ arg0)
public static DisplayInfo
b(so arg0)
fromNetwork(FriendlyByteBuf arg0)
method_820(class_2540 arg0)
fromPacket(PacketByteBuf buf)
m_14988_(C_4983_ p_14989_)
public com.google.gson.JsonElement
k()
serializeToJson()
method_814()
toJson()
m_14998_()
private com.google.gson.JsonObject
l()
serializeIcon()
method_810()
iconToJson()
m_14999_()