java.lang.Object
xyz.srnyx.annoyingapi.reflection.net.md_5.bungee.api.chat.RefHoverEvent

public class RefHoverEvent extends Object
net.md_5.bungee.api.chat.HoverEvent
  • Field Details

    • HOVER_EVENT_CONSTRUCTOR

      @Nullable public static final @Nullable Constructor<net.md_5.bungee.api.chat.HoverEvent> HOVER_EVENT_CONSTRUCTOR
      1.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 a HoverEvent with the given HoverEvent.Action and content, using reflection if needed
      Parameters:
      action - the HoverEvent.Action
      content - the content of the hover event
      Returns:
      the created HoverEvent