Package org.kingdoms.locale.compiler
Class MessagePiece.SimpleColor
java.lang.Object
org.kingdoms.locale.compiler.MessagePiece
org.kingdoms.locale.compiler.MessagePiece.Color
org.kingdoms.locale.compiler.MessagePiece.SimpleColor
- Enclosing class:
- MessagePiece
-
Nested Class Summary
Nested classes/interfaces inherited from class org.kingdoms.locale.compiler.MessagePiece
MessagePiece.Color, MessagePiece.ColorAccessor, MessagePiece.Conditional, MessagePiece.HexColor, MessagePiece.Hover, MessagePiece.NewLine, MessagePiece.Plain, MessagePiece.SimpleColor, MessagePiece.Variable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbuild(HTMLMessageBuilderContextProvider context) voidbuild(PlainMessageBuilderContextProvider context) booleanorg.bukkit.ChatColorgetColor()intintlength()toString()
-
Constructor Details
-
SimpleColor
public SimpleColor(org.bukkit.ChatColor color)
-
-
Method Details
-
equals
-
build
- Specified by:
buildin classMessagePiece
-
build
- Specified by:
buildin classMessagePiece
-
build
- Specified by:
buildin classMessagePiece
-
getColor
public org.bukkit.ChatColor getColor() -
length
public int length()- Specified by:
lengthin classMessagePiece
-
jsonLength
public int jsonLength()- Specified by:
jsonLengthin classMessagePiece
-
toString
-