@@ -35,8 +35,6 @@ public static void drawLine(Vec3 pos1, Vec3 pos2, Color4f color) {
3535 //#if MC > 12104
3636 //$$ RenderContext ctx = new RenderContext(MaLiLibPipelines.DEBUG_LINES_MASA_SIMPLE_NO_DEPTH_NO_CULL, BufferUsage.STATIC_WRITE);
3737 //$$ BufferBuilder builder = ctx.getBuilder();
38- //$$ PoseStack poseStack = new PoseStack();
39- //$$ poseStack.pushPose();
4038 //#else
4139 Tesselator tesselator = Tesselator .getInstance ();
4240 //#if MC > 12006
@@ -62,8 +60,6 @@ public static void drawLine(Vec3 pos1, Vec3 pos2, Color4f color) {
6260 //$$ ctx.close();
6361 //$$ } catch (Exception ignored) {
6462 //$$ }
65- //$$
66- //$$ poseStack.popPose();
6763 //#else
6864 //$$ RenderUtil.end(builder);
6965 //#endif
@@ -79,10 +75,8 @@ public static void drawOutlineBox(Vec3 pos, double expend, Color4f color) {
7975 pos = pos .subtract (camPos );
8076
8177 //#if MC > 12104
82- //$$ RenderContext ctx = new RenderContext(MaLiLibPipelines.LINES_MASA_SIMPLE_NO_DEPTH_NO_CULL , BufferUsage.STATIC_WRITE);
78+ //$$ RenderContext ctx = new RenderContext(MaLiLibPipelines.DEBUG_LINES_MASA_SIMPLE_NO_DEPTH_NO_CULL , BufferUsage.STATIC_WRITE);
8379 //$$ BufferBuilder builder = ctx.getBuilder();
84- //$$ PoseStack poseStack = new PoseStack();
85- //$$ poseStack.pushPose();
8680 //#else
8781 Tesselator tesselator = Tesselator .getInstance ();
8882 //#if MC > 12006
@@ -100,12 +94,7 @@ public static void drawOutlineBox(Vec3 pos, double expend, Color4f color) {
10094 (float ) (pos .y () + expend ),
10195 (float ) (pos .z () + expend ),
10296 color ,
103- //#if MC > 12104
104- //$$ builder,
105- //$$ poseStack.last()
106- //#else
10797 builder
108- //#endif
10998 );
11099 //#if MC > 12104
111100 //$$
@@ -120,8 +109,6 @@ public static void drawOutlineBox(Vec3 pos, double expend, Color4f color) {
120109 //$$ ctx.close();
121110 //$$ } catch (Exception ignored) {
122111 //$$ }
123- //$$
124- //$$ poseStack.popPose();
125112 //#elseif MC > 12006
126113 //$$ RenderUtil.end(builder);
127114 //#else
0 commit comments