Uses of Class
net.minecraft.text.HoverEvent
-
Uses of HoverEvent in net.minecraft.entity
Modifier and TypeMethodDescriptionprotected HoverEvent
Entity.getHoverEvent()
Returns the hover event referencing this entity. -
Uses of HoverEvent in net.minecraft.text
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<HoverEvent>
HoverEvent.CODEC
Modifier and TypeMethodDescriptionStyle.withHoverEvent
(@Nullable HoverEvent hoverEvent) Returns a new style with the hover event provided and all other attributes of this style.ModifierConstructorDescriptionprivate
Style
(@Nullable TextColor color, @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)