MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / getColor

Method getColor

src/main/java/net/optifine/CustomColormap.java:341–345  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

339 }
340
341 public int getColor(int index)
342 {
343 index = Config.limit(index, 0, this.colors.length - 1);
344 return this.colors[index] & 16777215;
345 }
346
347 public int getColor(int cx, int cy)
348 {

Callers 6

isValidMethod · 0.95
getColorSmoothMethod · 0.95
getColorVanillaMethod · 0.95
getColorGridMethod · 0.95
getColorMultiplierMethod · 0.95

Calls 4

limitMethod · 0.95
getColorBiomeMethod · 0.95
getColorVanillaMethod · 0.95
getColorGridMethod · 0.95

Tested by

no test coverage detected