Class TextComponentTagVisitor.RichStyling
java.lang.Object
net.minecraft.nbt.TextComponentTagVisitor.RichStyling
- All Implemented Interfaces:
TextComponentTagVisitor.Styling
- Enclosing class:
TextComponentTagVisitor
public static class TextComponentTagVisitor.RichStyling
extends Object
implements TextComponentTagVisitor.Styling
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TextComponentTagVisitor.Stylingprivate static final Styleprivate static final Styleprivate static final Styleprivate static final Styleprivate final Map<TextComponentTagVisitor.Token, Component> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionkeyStyle()private voidoverrideToken(TextComponentTagVisitor.Token token, Style style)
-
Field Details
-
SYNTAX_HIGHLIGHTING_NUMBER_TYPE
-
INSTANCE
-
tokens
-
SYNTAX_HIGHLIGHTING_KEY
-
SYNTAX_HIGHLIGHTING_STRING
-
SYNTAX_HIGHLIGHTING_NUMBER
-
-
Constructor Details
-
RichStyling
private RichStyling()
-
-
Method Details
-
overrideToken
-
keyStyle
- Specified by:
keyStylein interfaceTextComponentTagVisitor.Styling
-
stringStyle
- Specified by:
stringStylein interfaceTextComponentTagVisitor.Styling
-
numberStyle
- Specified by:
numberStylein interfaceTextComponentTagVisitor.Styling
-
token
- Specified by:
tokenin interfaceTextComponentTagVisitor.Styling
-