Class StyledTextDecorator
java.lang.Object
nl.pim16aap2.animatedarchitecture.spigot.util.text.StyledTextDecorator
- All Implemented Interfaces:
ITextDecorator,ITextDecoratorSpigot
Represents a text decorator for the Spigot platform that can add styles to text.
Such styles include things like color, italics, etc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecorateComponent(net.md_5.bungee.api.chat.BaseComponent component) Applies the decoration of this decorator to the provided component.booleaninthashCode()
-
Constructor Details
-
StyledTextDecorator
public StyledTextDecorator(net.md_5.bungee.api.chat.BaseComponent style)
-
-
Method Details
-
decorateComponent
public void decorateComponent(net.md_5.bungee.api.chat.BaseComponent component) Description copied from interface:ITextDecoratorSpigotApplies the decoration of this decorator to the provided component.- Specified by:
decorateComponentin interfaceITextDecoratorSpigot- Parameters:
component- The component to decorate.
-
equals
-
hashCode
public int hashCode()
-