Class RefHoverEvent


  • public class RefHoverEvent
    extends java.lang.Object
    net.md_5.bungee.api.chat.HoverEvent
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @Nullable java.lang.reflect.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 Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static @NotNull net.md_5.bungee.api.chat.HoverEvent createHoverEvent​(net.md_5.bungee.api.chat.HoverEvent.Action action, @NotNull java.lang.String content)
      Create a HoverEvent with the given HoverEvent.Action and content, using reflection if needed
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • HOVER_EVENT_CONSTRUCTOR

        @Nullable
        public static final @Nullable java.lang.reflect.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 Detail

      • 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 java.lang.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