java.lang.Object
com.sk89q.worldedit.util.formatting.component.TextComponentProducer
com.sk89q.worldedit.util.formatting.component.MessageBox
Direct Known Subclasses:
PaginationBox

public class MessageBox extends TextComponentProducer
Makes for a box with a border above and below.
  • Constructor Details

  • Method Details

    • centerAndBorder

      protected com.sk89q.worldedit.util.formatting.text.Component centerAndBorder(com.sk89q.worldedit.util.formatting.text.TextComponent text)
    • getContents

      public TextComponentProducer getContents()
      Gets the message box contents producer.
      Returns:
      The contents producer
    • create

      public com.sk89q.worldedit.util.formatting.text.TextComponent create()
      Description copied from class: TextComponentProducer
      Create a TextComponent from this producer.
      Overrides:
      create in class TextComponentProducer
      Returns:
      The component