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

Method getCustomColors

src/main/java/net/optifine/CustomColors.java:729–744  ·  view source on GitHub ↗
(String basePath, String[] paths, int width, int height)

Source from the content-addressed store, hash-verified

727 }
728
729 private static CustomColormap getCustomColors(String basePath, String[] paths, int width, int height)
730 {
731 for (int i = 0; i < paths.length; ++i)
732 {
733 String s = paths[i];
734 s = basePath + s;
735 CustomColormap customcolormap = getCustomColors(s, width, height);
736
737 if (customcolormap != null)
738 {
739 return customcolormap;
740 }
741 }
742
743 return null;
744 }
745
746 public static CustomColormap getCustomColors(String pathImage, int width, int height)
747 {

Callers 3

updateMethod · 0.95
parseLightMapPacksMethod · 0.95
readCustomColormapsMethod · 0.95

Calls 8

hasResourceMethod · 0.95
dbgMethod · 0.95
replaceSuffixMethod · 0.95
getResourceStreamMethod · 0.95
putMethod · 0.95
isValidMethod · 0.95
closeMethod · 0.65
loadMethod · 0.45

Tested by

no test coverage detected