net.minecraft.network.chat

public class HoverEvent$Action<T>

nv$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.util.text.event.HoverEvent$Action
net.minecraft.server.v1_16_R2.ChatHoverable$EnumHoverAction

Field summary

Modifier and TypeField
public static final HoverEvent$Action<Component>
a
SHOW_TEXT
field_24342
f_efzrdugq
SHOW_TEXT
field_230550_a_
SHOW_TEXT
public static final HoverEvent$Action<HoverEvent$ItemStackInfo>
b
SHOW_ITEM
field_24343
f_rvkrrgxy
SHOW_ITEM
field_230551_b_
SHOW_ITEM
public static final HoverEvent$Action<HoverEvent$EntityTooltipInfo>
c
SHOW_ENTITY
field_24344
f_sqfdnxty
SHOW_ENTITY
field_230552_c_
SHOW_ENTITY
private static final Map<String, HoverEvent$Action>
d
LOOKUP
field_24345
f_gisdibwg
BY_NAME
field_150690_d
private final String
e
name
field_24346
f_ylfcdbhm
name
field_150688_f
private final boolean
f
allowFromServer
field_24347
f_fwdruxcl
parsable
field_150691_e
private final Function<com.google.gson.JsonElement, T>
g
argDeserializer
field_24348
f_tsetcrup
deserializer
field_240665_g_
private final Function<T, com.google.gson.JsonElement>
h
argSerializer
field_24349
f_kfarmtii
serializer
field_240666_h_
private final Function<Component, T>
i
legacyArgDeserializer
field_24350
f_kjhczyzk
legacyDeserializer
field_240667_i_

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()
func_150686_a()
public String
b()
getName()
method_27674()
m_xqsnumno()
getName()
func_150685_b()
public static HoverEvent$Action
a(String arg0)
getByName(String arg0)
method_27670(String arg0)
m_xymxqskj(String arg0)
byName(String name)
func_150684_a(String arg0)
private T
b(Object arg0)
cast(Object arg0)
method_27676(Object arg0)
m_oesuwymv(Object arg0)
cast(Object o)
func_240674_b_(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)
func_240668_a_(com.google.gson.JsonElement arg0)
public HoverEvent
a(nr arg0)
deserializeFromLegacy(Component arg0)
method_27671(class_2561 arg0)
m_rxzlvwki(C_rdaqiwdt arg0)
buildHoverEvent(Text value)
func_240670_a_(ITextComponent arg0)
public com.google.gson.JsonElement
a(Object arg0)
serializeArg(Object arg0)
method_27669(Object arg0)
m_ffrbbigg(Object arg0)
contentsToJson(Object contents)
func_240669_a_(Object arg0)