Uses of Class
net.minecraft.text.HoverEvent.Action
Packages that use HoverEvent.Action
-
Uses of HoverEvent.Action in net.minecraft.text
Fields in net.minecraft.text declared as HoverEvent.ActionModifier 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
Fields in net.minecraft.text with type parameters of type HoverEvent.ActionModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<HoverEvent.Action<?>> HoverEvent.Action.CODEC
static final com.mojang.serialization.Codec
<HoverEvent.Action<?>> HoverEvent.Action.UNVALIDATED_CODEC
Methods in net.minecraft.text that return HoverEvent.ActionModifier and TypeMethodDescriptionHoverEvent.EventData.action()
Returns the value of theaction
record component.HoverEvent.getAction()
Methods in net.minecraft.text that return types with arguments of type HoverEvent.ActionModifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult
<HoverEvent.Action<?>> HoverEvent.Action.validate
(@Nullable HoverEvent.Action<?> action) Methods in net.minecraft.text with parameters of type HoverEvent.ActionModifier 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) Constructors in net.minecraft.text with parameters of type HoverEvent.ActionModifierConstructorDescription(package private)
EventData
(HoverEvent.Action<T> action, T t) HoverEvent
(HoverEvent.Action<T> action, T contents)