Uses of Interface
net.minecraft.text.HoverEvent
Packages that use HoverEvent
-
Uses of HoverEvent in net.minecraft.entity
Methods in net.minecraft.entity that return HoverEventModifier and TypeMethodDescriptionprotected HoverEvent
Entity.getHoverEvent()
Returns the hover event referencing this entity. -
Uses of HoverEvent in net.minecraft.text
Classes in net.minecraft.text that implement HoverEventModifier and TypeClassDescriptionstatic final record
static final record
static final record
Fields in net.minecraft.text declared as HoverEventFields in net.minecraft.text with type parameters of type HoverEventModifier and TypeFieldDescription(package private) final com.mojang.serialization.MapCodec
<? extends HoverEvent> HoverEvent.Action.codec
static final com.mojang.serialization.Codec
<HoverEvent> HoverEvent.CODEC
Methods in net.minecraft.text that return HoverEventMethods in net.minecraft.text with parameters of type HoverEventModifier and TypeMethodDescriptionStyle.withHoverEvent
(@Nullable HoverEvent hoverEvent) Returns a new style with the hover event provided and all other attributes of this style.Constructors in net.minecraft.text with parameters of type HoverEventModifierConstructorDescriptionprivate
Style
(@Nullable TextColor color, @Nullable Integer shadowColor, @Nullable Boolean bold, @Nullable Boolean italic, @Nullable Boolean underlined, @Nullable Boolean strikethrough, @Nullable Boolean obfuscated, @Nullable ClickEvent clickEvent, @Nullable HoverEvent hoverEvent, @Nullable String insertion, @Nullable Identifier font) Constructor parameters in net.minecraft.text with type arguments of type HoverEventModifierConstructorDescriptionprivate
Action
(String name, boolean parsable, com.mojang.serialization.MapCodec<? extends HoverEvent> codec)