MCPcopy Create free account
hub / github.com/Teneted/Tenet / getByChar

Method getByChar

src/main/java/org/bukkit/ChatColor.java:306–309  ·  view source on GitHub ↗

Gets the color represented by the specified color code @param code Code to check @return Associative org.bukkit.ChatColor with the given code, or null if it doesn't exist

(char code)

Source from the content-addressed store, hash-verified

304 * or null if it doesn't exist
305 */
306 @Nullable
307 public static ChatColor getByChar(char code) {
308 return BY_CHAR.get(code);
309 }
310
311 /**
312 * Gets the color represented by the specified color code

Callers 3

getLastColorsMethod · 0.95
getColorMethod · 0.95
wordWrapMethod · 0.95

Calls 2

getMethod · 0.65
lengthMethod · 0.45

Tested by

no test coverage detected