public class FormattedMarkupString extends java.lang.Object implements IMCFormattedString
| Constructor and Description |
|---|
FormattedMarkupString(net.minecraft.util.text.TextFormatting markup,
IMCFormattedString contents) |
| 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) |
public FormattedMarkupString(net.minecraft.util.text.TextFormatting markup,
IMCFormattedString contents)
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 crafttweaker.api.text.ITextComponent asTextComponent()
asTextComponent in interface crafttweaker.api.formatting.IFormattedText