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 TypeMethodDescription@Nullable HoverEvent
HoverEvent.Action.buildHoverEvent
(com.google.gson.JsonElement contents) @Nullable HoverEvent
HoverEvent.Action.buildHoverEvent
(Text value) static @Nullable HoverEvent
HoverEvent.fromJson
(com.google.gson.JsonObject json) @Nullable HoverEvent
Style.getHoverEvent()
Returns the hover event of this style.private static @Nullable HoverEvent
Style.Serializer.getHoverEvent
(com.google.gson.JsonObject root) Modifier and TypeMethodDescriptionStyle.withHoverEvent
(@Nullable HoverEvent hoverEvent) Returns a new style with the hover event provided and all other attributes of this style.ModifierConstructorDescription(package private)
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)