net.minecraft.advancement

public class AdvancementDisplay

z
net.minecraft.class_185
net.minecraft.advancement.AdvancementDisplay
net.minecraft.advancement.AdvancementInfo
net.minecraft.advancements.DisplayInfo
net.minecraft.advancements.DisplayInfo

Field summary

Modifier and TypeField
private final Text
a
field_1240
title
title
field_192300_a
title
private final Text
b
field_1242
description
description
field_193225_b
description
private final ItemStack
c
field_1241
icon
icon
field_192301_b
icon
private final Identifier
d
field_1243
background
background
field_192302_c
background
private final AdvancementFrame
e
field_1237
frame
frameType
field_192303_d
frame
private final boolean
f
field_1239
showToast
toast
field_193226_f
showToast
private final boolean
g
field_1238
announceToChat
chat
field_193227_g
announceToChat
private final boolean
h
field_1236
hidden
hidden
field_193228_h
hidden
private float
i
field_1245
xPos
x
field_192304_e
x
private float
j
field_1244
yPos
y
field_192305_f
y

Constructor summary

ModifierConstructor
public (ItemStack icon, Text title, Text description, Identifier background, AdvancementFrame frameType, boolean toast, boolean chat, boolean hidden)

Method summary

Modifier and TypeMethod
public void
a(float arg0, float arg1)
method_816(float arg0, float arg1)
setPosition(float arg0, float arg1)
setPosition(float x, float y)
func_192292_a(float arg0, float arg1)
setPosition(float x, float y)
public Text
a()
method_811()
getTitle()
getTitle()
func_192297_a()
getTitle()
public Text
b()
method_817()
getDescription()
getDescription()
func_193222_b()
getDescription()
public AdvancementFrame
e()
method_815()
getFrame()
getFrameType()
func_192291_d()
getFrame()
public boolean
i()
method_808()
shouldAnnounceToChat()
showInChat()
func_193220_i()
shouldAnnounceToChat()
public boolean
j()
method_824()
isHidden()
isHidden()
func_193224_j()
isHidden()
public static AdvancementDisplay
a(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
method_809(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
fromJson(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
deserialize(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
func_192294_a(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
deserialize(com.google.gson.JsonObject object, com.google.gson.JsonDeserializationContext context)
private static ItemStack
a(com.google.gson.JsonObject arg0)
method_822(com.google.gson.JsonObject arg0)
iconFromJson(com.google.gson.JsonObject arg0)
deserializeIcon(com.google.gson.JsonObject json)
func_193221_a(com.google.gson.JsonObject arg0)
deserializeIcon(com.google.gson.JsonObject object)
public void
a(jd arg0)
method_813(class_2540 arg0)
toPacket(PacketByteBuf arg0)
serialize(PacketByteBuf buffer)
func_192290_a(PacketBuffer arg0)
write(PacketBuffer buf)
public static AdvancementDisplay
b(jd arg0)
method_820(class_2540 arg0)
fromPacket(PacketByteBuf arg0)
deserialize(PacketByteBuf buffer)
func_192295_b(PacketBuffer arg0)
read(PacketBuffer buf)
public com.google.gson.JsonElement
k()
method_814()
toJson()
toJson()
func_200290_k()
serialize()
private com.google.gson.JsonObject
l()
method_810()
iconToJson()
iconToJson()
func_200289_l()
serializeIcon()
public ItemStack
c()
method_821()
getIcon()
getIcon()
func_192298_b()
getIcon()
public Identifier
d()
method_812()
getBackground()
getBackground()
func_192293_c()
getBackground()
public float
f()
method_818()
getX()
getX()
func_192299_e()
getX()
public float
g()
method_819()
getY()
getY()
func_192296_f()
getY()
public boolean
h()
method_823()
shouldShowToast()
showInToast()
func_193223_h()
shouldShowToast()