Package net.minecraft.network.chat
Class HoverEvent.Action<T>
java.lang.Object
net.minecraft.network.chat.HoverEvent.Action<T>
- Enclosing class:
HoverEvent
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private static final Map<String,
HoverEvent.Action<?>> private final String
static final HoverEvent.Action<HoverEvent.EntityTooltipInfo>
static final HoverEvent.Action<HoverEvent.ItemStackInfo>
static final HoverEvent.Action<Component>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) T
deserialize
(com.google.gson.JsonElement p_130849_) deserializeFromLegacy
(Component p_130855_) static HoverEvent.Action<?>
getName()
boolean
com.google.gson.JsonElement
serializeArg
(Object p_130851_) toString()
-
Field Details
-
SHOW_TEXT
-
SHOW_ITEM
-
SHOW_ENTITY
-
LOOKUP
-
name
-
allowFromServer
private final boolean allowFromServer -
argDeserializer
-
argSerializer
-
legacyArgDeserializer
-
-
Constructor Details
-
Action
-
-
Method Details