java.lang.Object
com.sk89q.worldedit.util.formatting.component.TextComponentProducer
com.sk89q.worldedit.util.formatting.component.CodeFormat

public class CodeFormat extends TextComponentProducer
Represents a fragment representing a command that is to be typed.
  • Method Details

    • wrap

      public static com.sk89q.worldedit.util.formatting.text.TextComponent wrap(String... texts)
      Creates a CodeFormat with the given message.
      Parameters:
      texts - The text
      Returns:
      The Component