MCPcopy Create free account
hub / github.com/cabaletta/baritone / glColor

Method glColor

src/main/java/baritone/utils/IRenderer.java:73–73  ·  view source on GitHub ↗
(Color color, float alpha)

Source from the content-addressed store, hash-verified

71 float[] color = new float[]{1.0F, 1.0F, 1.0F, 255.0F};
72
73 static void glColor(Color color, float alpha) {
74 float[] colorComponents = color.getColorComponents(null);
75 IRenderer.color[0] = colorComponents[0];
76 IRenderer.color[1] = colorComponents[1];

Callers 2

drawPathMethod · 0.95
renderSelectionsMethod · 0.95

Implementers 2

PathRenderersrc/main/java/baritone/utils/PathRende
SelectionRenderersrc/main/java/baritone/selection/Selec

Calls

no outgoing calls

Tested by

no test coverage detected