MCPcopy Create free account
hub / github.com/VolmitSoftware/Adapt / isColor

Method isColor

src/main/java/com/volmit/adapt/util/C.java:581–583  ·  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

579 * @return whether this ChatColor is a color code
580 */
581 public boolean isColor() {
582 return !isFormat && this != RESET;
583 }
584
585 /**
586 * Get the ChatColor enum instance instead of C

Callers 3

getLastColorsMethod · 0.95
setGlowingMethod · 0.80
TeamDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected