Class Title.TitleAPI

  • Enclosing class:
    Title

    public static class Title.TitleAPI
    extends java.lang.Object
    The type Title api.
    • Constructor Summary

      Constructors 
      Constructor Description
      TitleAPI()  
    • Method Summary

      Modifier and Type Method Description
      static void reset​(org.bukkit.entity.Player player)
      Reset.
      static void sendTitle​(org.bukkit.entity.Player player, java.lang.String title, java.lang.String subTitle, int fadeIn, int show, int fadeOut)
      Send title.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TitleAPI

        public TitleAPI()
    • Method Detail

      • sendTitle

        public static void sendTitle​(org.bukkit.entity.Player player,
                                     java.lang.String title,
                                     java.lang.String subTitle,
                                     int fadeIn,
                                     int show,
                                     int fadeOut)
        Send title.
        Parameters:
        player - the player
        title - the title
        subTitle - the sub title
        fadeIn - the fade in
        show - the show
        fadeOut - the fade out
      • reset

        public static void reset​(org.bukkit.entity.Player player)
        Reset.
        Parameters:
        player - the player