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

Field summary

Modifier and TypeField
public static final HoverEvent$Action<Component>
a
SHOW_TEXT
field_24342
SHOW_TEXT
field_230550_a_
SHOW_TEXT
public static final HoverEvent$Action<HoverEvent$ItemStackInfo>
b
SHOW_ITEM
field_24343
SHOW_ITEM
field_230551_b_
SHOW_ITEM
public static final HoverEvent$Action<HoverEvent$EntityTooltipInfo>
c
SHOW_ENTITY
field_24344
SHOW_ENTITY
field_230552_c_
SHOW_ENTITY
private static final Map<String, HoverEvent$Action>
d
LOOKUP
field_24345
BY_NAME
field_150690_d
private final String
e
name
field_24346
name
field_150688_f
private final boolean
f
allowFromServer
field_24347
parsable
field_150691_e
private final Function<com.google.gson.JsonElement, T>
g
argDeserializer
field_24348
deserializer
field_240665_g_
private final Function<T, com.google.gson.JsonElement>
h
argSerializer
field_24349
serializer
field_240666_h_
private final Function<Component, T>
i
legacyArgDeserializer
field_24350
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()
isParsable()
func_150686_a()
public String
b()
getName()
method_27674()
getName()
func_150685_b()
public static HoverEvent$Action
a(String arg0)
getByName(String arg0)
method_27670(String arg0)
byName(String name)
func_150684_a(String arg0)
private T
b(Object arg0)
cast(Object arg0)
method_27676(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)
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)
buildHoverEvent(Text value)
func_240670_a_(ITextComponent arg0)
public com.google.gson.JsonElement
a(Object arg0)
serializeArg(Object arg0)
method_27669(Object arg0)
contentsToJson(Object contents)
func_240669_a_(Object arg0)