Uses of Class
net.minecraft.network.chat.HoverEvent.Action
-
Uses of HoverEvent.Action in net.minecraft.network.chat
Modifier and TypeFieldDescriptionprivate final HoverEvent.Action<T>
HoverEvent.TypedHoverEvent.action
The field for theaction
record component.static final HoverEvent.Action<HoverEvent.EntityTooltipInfo>
HoverEvent.Action.SHOW_ENTITY
static final HoverEvent.Action<HoverEvent.ItemStackInfo>
HoverEvent.Action.SHOW_ITEM
static final HoverEvent.Action<Component>
HoverEvent.Action.SHOW_TEXT
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<HoverEvent.Action<?>>
HoverEvent.Action.CODEC
static final com.mojang.serialization.Codec<HoverEvent.Action<?>>
HoverEvent.Action.UNSAFE_CODEC
Modifier and TypeMethodDescriptionHoverEvent.TypedHoverEvent.action()
Returns the value of theaction
record component.HoverEvent.getAction()
Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult<HoverEvent.Action<?>>
HoverEvent.Action.filterForSerialization
(HoverEvent.Action<?> p_311888_) Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult<HoverEvent.Action<?>>
HoverEvent.Action.filterForSerialization
(HoverEvent.Action<?> p_311888_) <T> T
HoverEvent.getValue
(HoverEvent.Action<T> p_130824_) ModifierConstructorDescriptionHoverEvent
(HoverEvent.Action<T> p_130818_, T p_130819_) (package private)
TypedHoverEvent
(HoverEvent.Action<T> action, T value) Creates an instance of aTypedHoverEvent
record class.