Uses of Class
net.minecraft.text.HoverEvent
Packages that use HoverEvent
-
Uses of HoverEvent in net.minecraft.entity
Methods in net.minecraft.entity that return HoverEventModifier and TypeMethodDescriptionprotected HoverEventEntity.getHoverEvent()Returns the hover event referencing this entity. -
Uses of HoverEvent in net.minecraft.text
Fields in net.minecraft.text declared as HoverEventMethods in net.minecraft.text that return HoverEventModifier and TypeMethodDescriptionHoverEvent.Action.buildHoverEvent(JsonElement contents) HoverEvent.Action.buildHoverEvent(Text value) static @Nullable HoverEventHoverEvent.fromJson(JsonObject json) Style.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 HoverEventModifier and TypeMethodDescriptionStyle.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 HoverEventModifierConstructorDescription(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)