public class FormattedString extends java.lang.Object implements IMCFormattedString
| Constructor and Description |
|---|
FormattedString(java.lang.String value) |
| Modifier and Type | Method and Description |
|---|---|
crafttweaker.api.formatting.IFormattedText |
add(crafttweaker.api.formatting.IFormattedText other) |
crafttweaker.api.text.ITextComponent |
asTextComponent() |
crafttweaker.api.formatting.IFormattedText |
cat(crafttweaker.api.formatting.IFormattedText other) |
java.lang.String |
getText() |
java.lang.String |
getTooltipString() |
java.lang.String |
getTooltipString(java.lang.String context) |
java.lang.String |
toString() |
public java.lang.String getTooltipString()
getTooltipString in interface IMCFormattedStringpublic java.lang.String getTooltipString(java.lang.String context)
getTooltipString in interface IMCFormattedStringpublic crafttweaker.api.formatting.IFormattedText add(crafttweaker.api.formatting.IFormattedText other)
add in interface crafttweaker.api.formatting.IFormattedTextpublic crafttweaker.api.formatting.IFormattedText cat(crafttweaker.api.formatting.IFormattedText other)
cat in interface crafttweaker.api.formatting.IFormattedTextpublic java.lang.String getText()
getText in interface crafttweaker.api.formatting.IFormattedTextpublic java.lang.String toString()
toString in class java.lang.Objectpublic crafttweaker.api.text.ITextComponent asTextComponent()
asTextComponent in interface crafttweaker.api.formatting.IFormattedText