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.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 IMCFormattedString
public java.lang.String getTooltipString(java.lang.String context)
getTooltipString
in interface IMCFormattedString
public crafttweaker.api.formatting.IFormattedText add(crafttweaker.api.formatting.IFormattedText other)
add
in interface crafttweaker.api.formatting.IFormattedText
public crafttweaker.api.formatting.IFormattedText cat(crafttweaker.api.formatting.IFormattedText other)
cat
in interface crafttweaker.api.formatting.IFormattedText
public java.lang.String getText()
getText
in interface crafttweaker.api.formatting.IFormattedText
public java.lang.String toString()
toString
in class java.lang.Object