MCPcopy Create free account
hub / github.com/5zig/The-5zig-Mod / getByChar

Method getByChar

Utils/src/eu/the5zig/util/minecraft/ChatColor.java:176–178  ·  view source on GitHub ↗

Get the colour represented by the specified code. @param code the code to search for @return the mapped colour, or null if non exists

(char code)

Source from the content-addressed store, hash-verified

174 * @return the mapped colour, or null if non exists
175 */
176 public static ChatColor getByChar(char code) {
177 return BY_CHAR.get(code);
178 }
179
180 public String getName() {
181 return name;

Callers 15

fromLegacyTextMethod · 0.95
fromLegacyTextMethod · 0.95
fromLegacyTextMethod · 0.95
fromLegacyTextMethod · 0.95
fromLegacyTextMethod · 0.95
fromLegacyTextMethod · 0.95
fromLegacyTextMethod · 0.95
fromLegacyTextMethod · 0.95
fromLegacyTextMethod · 0.95
fromLegacyTextMethod · 0.95
fromLegacyTextMethod · 0.95
fromLegacyTextMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected