net.minecraft.network.chat

public class HoverEvent$Action<T>

qd$a
net.minecraft.network.chat.HoverEvent$Action
net.minecraft.class_2568$class_5247
net.minecraft.unmapped.C_qhrnrrcp$C_dmyxtvqo
net.minecraft.text.HoverEvent$Action
net.minecraft.src.C_5007_$C_5008_
net.minecraft.network.chat.ChatHoverable$EnumHoverAction

Field summary

Modifier and TypeField
public static final HoverEvent$Action<Component>
a
SHOW_TEXT
field_24342
f_efzrdugq
SHOW_TEXT
f_130831_
public static final HoverEvent$Action<HoverEvent$ItemStackInfo>
b
SHOW_ITEM
field_24343
f_rvkrrgxy
SHOW_ITEM
f_130832_
public static final HoverEvent$Action<HoverEvent$EntityTooltipInfo>
c
SHOW_ENTITY
field_24344
f_sqfdnxty
SHOW_ENTITY
f_130833_
private static final Map<String, HoverEvent$Action<?>>
d
LOOKUP
field_24345
f_gisdibwg
BY_NAME
f_130834_
private final String
e
name
field_24346
f_ylfcdbhm
name
f_130835_
private final boolean
f
allowFromServer
field_24347
f_fwdruxcl
parsable
f_130836_
private final Function<com.google.gson.JsonElement, T>
g
argDeserializer
field_24348
f_tsetcrup
deserializer
f_130837_
private final Function<T, com.google.gson.JsonElement>
h
argSerializer
field_24349
f_kfarmtii
serializer
f_130838_
private final Function<Component, T>
i
legacyArgDeserializer
field_24350
f_kjhczyzk
legacyDeserializer
f_130839_

Constructor summary

ModifierConstructor
public (String name, boolean parsable, Function<com.google.gson.JsonElement, T> deserializer, Function<T, com.google.gson.JsonElement> serializer, Function<Component, T> legacyDeserializer)

Method summary

Modifier and TypeMethod
public boolean
a()
isAllowedFromServer()
method_27667()
m_vysodxkg()
isParsable()
m_130847_()
public String
b()
getName()
method_27674()
m_xqsnumno()
getName()
m_130861_()
public static HoverEvent$Action<?>
a(String arg0)
getByName(String arg0)
method_27670(String arg0)
m_xymxqskj(String arg0)
byName(String name)
m_130852_(String p_130853_)
T
b(Object arg0)
cast(Object arg0)
method_27676(Object arg0)
m_oesuwymv(Object arg0)
cast(Object o)
m_130864_(Object arg0)
public HoverEvent
a(com.google.gson.JsonElement arg0)
deserialize(com.google.gson.JsonElement arg0)
method_27668(com.google.gson.JsonElement arg0)
m_zhnaawkc(com.google.gson.JsonElement arg0)
buildHoverEvent(com.google.gson.JsonElement contents)
m_130848_(com.google.gson.JsonElement arg0)
public HoverEvent
a(pz arg0)
deserializeFromLegacy(Component arg0)
method_27671(class_2561 arg0)
m_rxzlvwki(C_rdaqiwdt arg0)
buildHoverEvent(Text value)
m_130854_(C_4996_ arg0)
public com.google.gson.JsonElement
a(Object arg0)
serializeArg(Object arg0)
method_27669(Object arg0)
m_ffrbbigg(Object arg0)
contentsToJson(Object contents)
m_130850_(Object arg0)