java.lang.Object
com.fastasyncworldedit.core.configuration.Caption

public class Caption extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.sk89q.worldedit.util.formatting.text.Component
    color(com.sk89q.worldedit.util.formatting.text.Component parent)
     
    static com.sk89q.worldedit.util.formatting.text.Component
    color(com.sk89q.worldedit.util.formatting.text.Component component, Locale locale)
    Colorize a component with legacy color codes.
    static com.sk89q.worldedit.util.formatting.text.TranslatableComponent
    of(String key, com.sk89q.worldedit.util.formatting.text.format.TextColor color, List<? extends com.sk89q.worldedit.util.formatting.text.Component> args)
     
    static com.sk89q.worldedit.util.formatting.text.TranslatableComponent
    of(String key, Object... args)
     
    static String
    toString(com.sk89q.worldedit.util.formatting.text.Component component)
     
    static String
    toString(com.sk89q.worldedit.util.formatting.text.Component component, Locale locale)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Caption

      public Caption()
  • Method Details

    • toString

      public static String toString(com.sk89q.worldedit.util.formatting.text.Component component)
    • toString

      public static String toString(com.sk89q.worldedit.util.formatting.text.Component component, Locale locale)
    • color

      public static com.sk89q.worldedit.util.formatting.text.Component color(com.sk89q.worldedit.util.formatting.text.Component component, Locale locale)
      Colorize a component with legacy color codes.
    • color

      public static com.sk89q.worldedit.util.formatting.text.Component color(com.sk89q.worldedit.util.formatting.text.Component parent)
    • of

      public static com.sk89q.worldedit.util.formatting.text.TranslatableComponent of(@Nonnull String key, @Nullable com.sk89q.worldedit.util.formatting.text.format.TextColor color, @Nonnull List<? extends com.sk89q.worldedit.util.formatting.text.Component> args)
    • of

      @Nonnull public static com.sk89q.worldedit.util.formatting.text.TranslatableComponent of(@Nonnull String key, Object... args)