Index

A C F G I M P S T V 
All Classes and Interfaces|All Packages

A

apply(String, boolean) - Method in interface me.croabeast.prismatic.color.ColorPattern
Applies the color pattern to the given string.
applyColor(Color, String, boolean) - Method in class me.croabeast.prismatic.PrismaticAPI
Prepends a given string with the ChatColor corresponding to the provided color.
applyGradient(String, Color, Color, boolean) - Method in class me.croabeast.prismatic.PrismaticAPI
Applies a gradient color effect to the given string.
applyRainbow(String, float, boolean) - Method in class me.croabeast.prismatic.PrismaticAPI
Applies a rainbow color effect to the given string.

C

ClientVersion - Class in me.croabeast.prismatic
Provides a mapping between Minecraft client protocol versions and a simplified major version.
COLOR_PATTERNS - Static variable in interface me.croabeast.prismatic.color.ColorPattern
A default list of color patterns available for processing text.
colorize(String) - Method in class me.croabeast.prismatic.PrismaticAPI
Colorizes the given string without any player context.
colorize(Player, String) - Method in class me.croabeast.prismatic.PrismaticAPI
Colorizes the given string by applying all registered ColorPattern effects.
ColorPattern - Interface in me.croabeast.prismatic.color
Defines a contract for applying and stripping color formatting to strings.

F

fromString(String, boolean) - Method in class me.croabeast.prismatic.PrismaticAPI
Converts a hexadecimal color string into a ChatColor.

G

getClientVersion(Player) - Static method in class me.croabeast.prismatic.ClientVersion
Determines the major client version for the given player based on their protocol version.
getLastColor(String) - Method in class me.croabeast.prismatic.PrismaticAPI
Retrieves the last color code found in the provided string.

I

isLegacy(Player) - Static method in class me.croabeast.prismatic.ClientVersion
Checks whether the specified player's client is considered legacy.

M

me.croabeast.prismatic - package me.croabeast.prismatic
 
me.croabeast.prismatic.color - package me.croabeast.prismatic.color
 
me.croabeast.prismatic.plugin - package me.croabeast.prismatic.plugin
 

P

PrismaticAPI - Class in me.croabeast.prismatic
A utility class that provides methods for color manipulation and text formatting.
PrismaticAPI() - Constructor for class me.croabeast.prismatic.PrismaticAPI
 
PrismaticPlugin - Class in me.croabeast.prismatic.plugin
 
PrismaticPlugin() - Constructor for class me.croabeast.prismatic.plugin.PrismaticPlugin
 

S

startsWithColor(String) - Method in class me.croabeast.prismatic.PrismaticAPI
Checks if the provided string starts with a valid color code.
strip(String) - Method in interface me.croabeast.prismatic.color.ColorPattern
Strips the color formatting applied by this pattern from the given string.
stripAll(String) - Method in class me.croabeast.prismatic.PrismaticAPI
Strips all types of color and formatting codes from the provided string.
stripBukkit(String) - Method in class me.croabeast.prismatic.PrismaticAPI
Strips Bukkit color codes (e.g.
stripRGB(String) - Method in class me.croabeast.prismatic.PrismaticAPI
Strips RGB color codes applied by ColorPattern implementations from the provided string.
stripSpecial(String) - Method in class me.croabeast.prismatic.PrismaticAPI
Strips special formatting codes (e.g.

T

toString() - Method in class me.croabeast.prismatic.ClientVersion
Returns a string representation of the client version.

V

values() - Static method in class me.croabeast.prismatic.ClientVersion
Returns an array containing all registered ClientVersion instances.
A C F G I M P S T V 
All Classes and Interfaces|All Packages