Uses of Class
net.minecraft.text.HoverEvent.Action
-
Uses of HoverEvent.Action in net.minecraft.text
Modifier and TypeFieldDescriptionprivate final HoverEvent.Action<T>
HoverEvent.EventData.action
The field for theaction
record component.static final HoverEvent.Action<HoverEvent.EntityContent>
HoverEvent.Action.SHOW_ENTITY
static final HoverEvent.Action<HoverEvent.ItemStackContent>
HoverEvent.Action.SHOW_ITEM
static final HoverEvent.Action<Text>
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.UNVALIDATED_CODEC
Modifier and TypeMethodDescriptionHoverEvent.EventData.action()
Returns the value of theaction
record component.HoverEvent.getAction()
Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult<HoverEvent.Action<?>>
HoverEvent.Action.validate
(@Nullable HoverEvent.Action<?> action) Modifier and TypeMethodDescription<T> T
HoverEvent.getValue
(HoverEvent.Action<T> action) private static com.mojang.serialization.DataResult<HoverEvent.Action<?>>
HoverEvent.Action.validate
(@Nullable HoverEvent.Action<?> action) ModifierConstructorDescription(package private)
EventData
(HoverEvent.Action<T> action, T t) HoverEvent
(HoverEvent.Action<T> action, T contents)