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

Method readColor

src/main/java/net/optifine/CustomColors.java:645–659  ·  view source on GitHub ↗
(Properties props, String[] names)

Source from the content-addressed store, hash-verified

643 }
644
645 private static int readColor(Properties props, String[] names)
646 {
647 for (int i = 0; i < names.length; ++i)
648 {
649 String s = names[i];
650 int j = readColor(props, s);
651
652 if (j >= 0)
653 {
654 return j;
655 }
656 }
657
658 return -1;
659 }
660
661 private static int readColor(Properties props, String name)
662 {

Callers 2

readColorPropertiesMethod · 0.95
readColorVec3Method · 0.95

Calls 5

parseColorMethod · 0.95
warnMethod · 0.95
dbgMethod · 0.95
trimMethod · 0.80
getPropertyMethod · 0.45

Tested by

no test coverage detected