Class Console

java.lang.Object
com.loohp.limbo.Console
All Implemented Interfaces:
CommandSender, net.kyori.adventure.audience.Audience, net.kyori.adventure.pointer.Pointered

public class Console extends Object implements CommandSender
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
     
    protected final PrintStream
     
    protected static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     
    boolean
    hasPermission(String permission)
     
    void
    hideBossBar(net.kyori.adventure.bossbar.BossBar bar)
     
    void
    openBook(net.kyori.adventure.inventory.Book book)
     
    void
    playSound(net.kyori.adventure.sound.Sound sound)
     
    void
    playSound(net.kyori.adventure.sound.Sound sound, double x, double y, double z)
     
    void
    playSound(net.kyori.adventure.sound.Sound sound, net.kyori.adventure.sound.Sound.Emitter emitter)
     
    void
     
    protected void
    run()
     
    void
    sendActionBar(net.kyori.adventure.text.Component message)
     
    void
    sendComponent(net.kyori.adventure.text.Component message)
     
    void
     
    void
    sendMessage(String message, UUID uuid)
     
    void
    sendMessage(net.kyori.adventure.identity.Identity source, net.kyori.adventure.text.Component message, net.kyori.adventure.audience.MessageType type)
     
    void
    sendPlayerListHeaderAndFooter(net.kyori.adventure.text.Component header, net.kyori.adventure.text.Component footer)
     
    <T> void
    sendTitlePart(net.kyori.adventure.title.TitlePart<T> part, T value)
     
    void
    showBossBar(net.kyori.adventure.bossbar.BossBar bar)
     
    protected void
     
    void
    stopSound(net.kyori.adventure.sound.SoundStop stop)
     
    protected static String
     
    protected static String
    translateToConsole(net.kyori.adventure.text.Component component)
     
    protected void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.kyori.adventure.audience.Audience

    clearResourcePacks, deleteMessage, deleteMessage, filterAudience, forEachAudience, openBook, removeResourcePacks, removeResourcePacks, removeResourcePacks, removeResourcePacks, removeResourcePacks, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendResourcePacks, sendResourcePacks, sendResourcePacks, showTitle, stopSound

    Methods inherited from interface net.kyori.adventure.pointer.Pointered

    get, getOrDefault, getOrDefaultFrom, pointers
  • Field Details

  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface CommandSender
    • hasPermission

      public boolean hasPermission(String permission)
      Specified by:
      hasPermission in interface CommandSender
    • sendMessage

      public void sendMessage(String message, UUID uuid)
      Specified by:
      sendMessage in interface CommandSender
    • sendMessage

      public void sendMessage(net.kyori.adventure.identity.Identity source, net.kyori.adventure.text.Component message, net.kyori.adventure.audience.MessageType type)
      Specified by:
      sendMessage in interface net.kyori.adventure.audience.Audience
    • openBook

      public void openBook(net.kyori.adventure.inventory.Book book)
      Specified by:
      openBook in interface net.kyori.adventure.audience.Audience
    • stopSound

      public void stopSound(net.kyori.adventure.sound.SoundStop stop)
      Specified by:
      stopSound in interface net.kyori.adventure.audience.Audience
    • playSound

      public void playSound(net.kyori.adventure.sound.Sound sound, net.kyori.adventure.sound.Sound.Emitter emitter)
      Specified by:
      playSound in interface net.kyori.adventure.audience.Audience
    • playSound

      public void playSound(net.kyori.adventure.sound.Sound sound, double x, double y, double z)
      Specified by:
      playSound in interface net.kyori.adventure.audience.Audience
    • playSound

      public void playSound(net.kyori.adventure.sound.Sound sound)
      Specified by:
      playSound in interface net.kyori.adventure.audience.Audience
    • sendActionBar

      public void sendActionBar(net.kyori.adventure.text.Component message)
      Specified by:
      sendActionBar in interface net.kyori.adventure.audience.Audience
    • sendPlayerListHeaderAndFooter

      public void sendPlayerListHeaderAndFooter(net.kyori.adventure.text.Component header, net.kyori.adventure.text.Component footer)
      Specified by:
      sendPlayerListHeaderAndFooter in interface net.kyori.adventure.audience.Audience
    • sendTitlePart

      public <T> void sendTitlePart(net.kyori.adventure.title.TitlePart<T> part, T value)
      Specified by:
      sendTitlePart in interface net.kyori.adventure.audience.Audience
    • clearTitle

      public void clearTitle()
      Specified by:
      clearTitle in interface net.kyori.adventure.audience.Audience
    • resetTitle

      public void resetTitle()
      Specified by:
      resetTitle in interface net.kyori.adventure.audience.Audience
    • showBossBar

      public void showBossBar(net.kyori.adventure.bossbar.BossBar bar)
      Specified by:
      showBossBar in interface net.kyori.adventure.audience.Audience
    • hideBossBar

      public void hideBossBar(net.kyori.adventure.bossbar.BossBar bar)
      Specified by:
      hideBossBar in interface net.kyori.adventure.audience.Audience
    • sendMessage

      public void sendMessage(String message)
      Specified by:
      sendMessage in interface CommandSender
    • sendComponent

      public void sendComponent(net.kyori.adventure.text.Component message)
    • run

      protected void run()
    • stashLine

      protected void stashLine()
    • unstashLine

      protected void unstashLine()
    • translateToConsole

      protected static String translateToConsole(String str)
    • translateToConsole

      protected static String translateToConsole(net.kyori.adventure.text.Component component)