Class RefHoverEvent
java.lang.Object
xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.RefHoverEvent
net.md_5.bungee.api.chat.HoverEvent
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @Nullable Constructor<net.md_5.bungee.api.chat.HoverEvent> 1.16.1+ net.md_5.bungee.api.chat.HoverEvent(HoverEvent.Action,RefContent[]) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull net.md_5.bungee.api.chat.HoverEventcreateHoverEvent(net.md_5.bungee.api.chat.HoverEvent.Action action, @NotNull String content) Create aHoverEventwith the givenHoverEvent.Actionand content, using reflection if needed
-
Field Details
-
HOVER_EVENT_CONSTRUCTOR
@Nullable public static final @Nullable Constructor<net.md_5.bungee.api.chat.HoverEvent> HOVER_EVENT_CONSTRUCTOR1.16.1+ net.md_5.bungee.api.chat.HoverEvent(HoverEvent.Action,RefContent[])
-
-
Method Details
-
createHoverEvent
@NotNull public static @NotNull net.md_5.bungee.api.chat.HoverEvent createHoverEvent(@NotNull net.md_5.bungee.api.chat.HoverEvent.Action action, @NotNull @NotNull String content) Create aHoverEventwith the givenHoverEvent.Actionand content, using reflection if needed- Parameters:
action- theHoverEvent.Actioncontent- the content of the hover event- Returns:
- the created
HoverEvent
-