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

Method drawPath

src/main/java/baritone/utils/PathRenderer.java:128–130  ·  view source on GitHub ↗
(PoseStack stack, List<BetterBlockPos> positions, int startIndex, Color color, boolean fadeOut, int fadeStart0, int fadeEnd0)

Source from the content-addressed store, hash-verified

126 }
127
128 public static void drawPath(PoseStack stack, List<BetterBlockPos> positions, int startIndex, Color color, boolean fadeOut, int fadeStart0, int fadeEnd0) {
129 drawPath(stack, positions, startIndex, color, fadeOut, fadeStart0, fadeEnd0, 0.5D);
130 }
131
132 public static void drawPath(PoseStack stack, List<BetterBlockPos> positions, int startIndex, Color color, boolean fadeOut, int fadeStart0, int fadeEnd0, double offset) {
133 BufferBuilder bufferBuilder = IRenderer.startLines(color, settings.pathRenderLineWidthPixels.value);

Callers 2

renderMethod · 0.95
onRenderPassMethod · 0.95

Calls 6

startLinesMethod · 0.95
glColorMethod · 0.95
emitPathLineMethod · 0.95
endLinesMethod · 0.95
sizeMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected