net.minecraft.advancements

public class DisplayInfo

ah
net.minecraft.advancements.DisplayInfo
net.minecraft.class_185
net.minecraft.advancement.AdvancementDisplay
net.minecraft.advancements.DisplayInfo
net.minecraft.server.v1_16_R3.AdvancementDisplay

Field summary

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

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)
func_192292_a(float arg0, float arg1)
public Component
a()
getTitle()
method_811()
getTitle()
func_192297_a()
public Component
b()
getDescription()
method_817()
getDescription()
func_193222_b()
public FrameType
e()
getFrame()
method_815()
getFrame()
func_192291_d()
public boolean
i()
shouldAnnounceChat()
method_808()
shouldAnnounceToChat()
func_193220_i()
public boolean
j()
isHidden()
method_824()
isHidden()
func_193224_j()
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)
func_192294_a(com.google.gson.JsonObject arg0)
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)
func_193221_a(com.google.gson.JsonObject arg0)
public void
a(nf arg0)
serializeToNetwork(FriendlyByteBuf arg0)
method_813(class_2540 arg0)
toPacket(PacketByteBuf buf)
func_192290_a(PacketBuffer arg0)
public static DisplayInfo
b(nf arg0)
fromNetwork(FriendlyByteBuf arg0)
method_820(class_2540 arg0)
fromPacket(PacketByteBuf buf)
func_192295_b(PacketBuffer arg0)
public com.google.gson.JsonElement
k()
serializeToJson()
method_814()
toJson()
func_200290_k()
private com.google.gson.JsonObject
l()
serializeIcon()
method_810()
iconToJson()
func_200289_l()
public ItemStack
c()
getIcon()
method_821()
getIcon()
func_192298_b()
public ResourceLocation
d()
getBackground()
method_812()
getBackground()
func_192293_c()
public float
f()
getX()
method_818()
getX()
func_192299_e()
public float
g()
getY()
method_819()
getY()
func_192296_f()
public boolean
h()
shouldShowToast()
method_823()
shouldShowToast()
func_193223_h()