Package com.mingcraft.minglib.colors
Class Color
java.lang.Object
com.mingcraft.minglib.colors.Color
Mingcraft color API
Version 1.0.0
- Add String colored Method
- Add String uncolored Method
- Add defined hex color
Version 1.0.1
- Add log color
Version 1.0.0
- Add String colored Method
- Add String uncolored Method
- Add defined hex color
Version 1.0.1
- Add log color
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceMinecraft formatting codesstatic interfaceDefined hex colors
If you want other hex color, visit herestatic interfaceHex colors used in loggerstatic interfaceMinecraft color codes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringAdd hex color to StringAdd hex color to String[]colored(Collection<String> messages)Add hex color to String Collectionstatic StringRemove hex color from StringRemove hex color from String[]uncolored(Collection<String> messages)Remove hex color from String Collection
-
Constructor Details
-
Color
public Color()
-
-
Method Details
-
colored
Add hex color to String- Parameters:
message- String with hex code- Returns:
- Colored String
-
colored
Add hex color to String[]- Parameters:
messages- String[] with hex code- Returns:
- Colored String List
-
colored
Add hex color to String Collection- Parameters:
messages- String Collection with hex code- Returns:
- Colored String List
-
uncolored
Remove hex color from String- Parameters:
message- Colored String- Returns:
- Uncolored String
-
uncolored
Remove hex color from String[]- Parameters:
messages- Colored String[]- Returns:
- Uncolored String List
-
uncolored
Remove hex color from String Collection- Parameters:
messages- Colored String Collection- Returns:
- Uncolored String List
-