Uses of Class
net.minecraft.text.HoverEvent
Package | Description |
---|---|
net.minecraft.entity | |
net.minecraft.text |
-
Uses of HoverEvent in net.minecraft.entity
Methods in net.minecraft.entity that return HoverEvent Modifier and Type Method Description protected HoverEvent
Entity. getHoverEvent()
-
Uses of HoverEvent in net.minecraft.text
Fields in net.minecraft.text declared as HoverEvent Modifier and Type Field Description private @Nullable HoverEvent
Style. hoverEvent
Methods in net.minecraft.text that return HoverEvent Modifier and Type Method Description @Nullable HoverEvent
HoverEvent.Action. buildHoverEvent(JsonElement contents)
@Nullable HoverEvent
HoverEvent.Action. buildHoverEvent(Text value)
static @Nullable HoverEvent
HoverEvent. fromJson(JsonObject json)
@Nullable HoverEvent
Style. getHoverEvent()
Returns the hover event of this style.private static @Nullable HoverEvent
Style.Serializer. getHoverEvent(JsonObject root)
Methods in net.minecraft.text with parameters of type HoverEvent Modifier and Type Method Description Style
Style. 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 HoverEvent Constructor Description 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)