Skip to content

Commit

Permalink
I hate mojmap
Browse files Browse the repository at this point in the history
  • Loading branch information
Deftu committed Dec 27, 2024
1 parent 64d30fa commit d300e7e
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
//#endif
//$$
//#if MC >= 1.20
//#if FORGE
//$$ import net.minecraft.client.gui.GuiGraphics;
//#else
//$$ import net.minecraft.client.gui.DrawContext;
//#endif
//#elseif MC >= 1.13
//$$ import com.mojang.blaze3d.matrix.MatrixStack;
//#endif
Expand Down Expand Up @@ -49,7 +53,11 @@ public class Mixin_HudRenderEvent {
)
private void renderHudCallback(
//#if MC >= 1.20
//#if FORGE
//$$ GuiGraphics ctx,
//#else
//$$ DrawContext ctx,
//#endif
//#elseif MC >= 1.13
//$$ MatrixStack matrixStack,
//#endif
Expand All @@ -58,7 +66,11 @@ private void renderHudCallback(
) {
UMatrixStack stack =
//#if MC >= 1.20
//#if FORGE
//$$ new UMatrixStack(ctx.pose());
//#else
//$$ new UMatrixStack(ctx.getMatrices());
//#endif
//#elseif MC >= 1.13
//$$ new UMatrixStack(matrixStack);
//#else
Expand Down

0 comments on commit d300e7e

Please sign in to comment.