Uses of Class
net.minecraft.text.HoverEvent
-
Uses of HoverEvent in net.minecraft.entity
-
Uses of HoverEvent in net.minecraft.text
Modifier and TypeMethodDescriptionHoverEvent.Action.buildHoverEvent(JsonElement contents)
HoverEvent.Action.buildHoverEvent(Text value)
static @Nullable HoverEvent
HoverEvent.fromJson(JsonObject json)
Style.getHoverEvent()
Returns the hover event of this style.private static @Nullable HoverEvent
Style.Serializer.getHoverEvent(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)