Tabnine Logo
TranslatableComponent.isStrikethrough
Code IndexAdd Tabnine to your IDE (free)

How to use
isStrikethrough
method
in
net.md_5.bungee.api.chat.TranslatableComponent

Best Java code snippets using net.md_5.bungee.api.chat.TranslatableComponent.isStrikethrough (Showing top 2 results out of 315)

origin: SpigotMC/BungeeCord

  private void addFormat(StringBuilder builder)
  {
    builder.append( getColor() );
    if ( isBold() )
    {
      builder.append( ChatColor.BOLD );
    }
    if ( isItalic() )
    {
      builder.append( ChatColor.ITALIC );
    }
    if ( isUnderlined() )
    {
      builder.append( ChatColor.UNDERLINE );
    }
    if ( isStrikethrough() )
    {
      builder.append( ChatColor.STRIKETHROUGH );
    }
    if ( isObfuscated() )
    {
      builder.append( ChatColor.MAGIC );
    }
  }
}
origin: WaterfallMC/Waterfall-Old

  private void addFormat(StringBuilder builder)
  {
    builder.append( getColor() );
    if ( isBold() )
    {
      builder.append( ChatColor.BOLD );
    }
    if ( isItalic() )
    {
      builder.append( ChatColor.ITALIC );
    }
    if ( isUnderlined() )
    {
      builder.append( ChatColor.UNDERLINE );
    }
    if ( isStrikethrough() )
    {
      builder.append( ChatColor.STRIKETHROUGH );
    }
    if ( isObfuscated() )
    {
      builder.append( ChatColor.MAGIC );
    }
  }
}
net.md_5.bungee.api.chatTranslatableComponentisStrikethrough

Popular methods of TranslatableComponent

  • <init>
    Creates a translatable component from the original to clone it.
  • getTranslate
  • getWith
  • setTranslate
  • addFormat
  • addWith
    Adds a component substitution to the component. The text will inherit this component's formatting
  • getColor
  • isBold
  • isItalic
  • isObfuscated
  • isUnderlined
  • setWith
    Sets the translation substitutions to be used in this component. Removes any previously set substitu
  • isUnderlined,
  • setWith

Popular in Java

  • Making http post requests using okhttp
  • getApplicationContext (Context)
  • startActivity (Activity)
  • scheduleAtFixedRate (Timer)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now