MCPcopy Create free account
hub / github.com/PaperMC/Paper / isColor

Method isColor

paper-api/src/main/java/org/bukkit/ChatColor.java:297–299  ·  view source on GitHub ↗

Checks if this code is a color code as opposed to a format code. @return whether this ChatColor is a color code

()

Source from the content-addressed store, hash-verified

295 * @return whether this ChatColor is a color code
296 */
297 public boolean isColor() {
298 return !isFormat && this != RESET;
299 }
300
301 /**
302 * Gets the color represented by the specified color code

Callers 1

getLastColorsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected