java.lang.Object
io.github.projectunified.unidialog.bungeecord.body.BungeeTextBody
All Implemented Interfaces:
BungeeDialogBody, io.github.projectunified.unidialog.core.body.TextBody<BungeeTextBody>

public class BungeeTextBody extends Object implements io.github.projectunified.unidialog.core.body.TextBody<BungeeTextBody>, BungeeDialogBody
  • Constructor Details

    • BungeeTextBody

      public BungeeTextBody()
  • Method Details

    • text

      public BungeeTextBody text(net.md_5.bungee.api.chat.BaseComponent text)
      Set the text for the body
      Parameters:
      text - the text to set
      Returns:
      the instance of the text body for method chaining
    • text

      public BungeeTextBody text(String text)
      Specified by:
      text in interface io.github.projectunified.unidialog.core.body.TextBody<BungeeTextBody>
    • width

      public BungeeTextBody width(int width)
      Specified by:
      width in interface io.github.projectunified.unidialog.core.body.TextBody<BungeeTextBody>
    • getDialogBody

      public net.md_5.bungee.api.dialog.body.DialogBody getDialogBody()
      Specified by:
      getDialogBody in interface BungeeDialogBody