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