From c99577a013546899f71accce293ac615a7635439 Mon Sep 17 00:00:00 2001 From: ThisIsALegitUsername Date: Tue, 27 Dec 2022 21:44:26 +0000 Subject: [PATCH] Remove chunkborders --- .../dev/resent/module/base/ModManager.class | Bin 7397 -> 3674 bytes .../module/impl/misc/ChunkBorders.class | Bin 1453 -> 0 bytes .../renderer/entity/RenderManager.class | Bin 22529 -> 22529 bytes .../resent/module/impl/misc/ChunkBorders.java | 66 +++++++++--------- .../client/renderer/entity/RenderManager.java | 6 +- 5 files changed, 36 insertions(+), 36 deletions(-) delete mode 100644 bin/main/dev/resent/module/impl/misc/ChunkBorders.class diff --git a/bin/main/dev/resent/module/base/ModManager.class b/bin/main/dev/resent/module/base/ModManager.class index bfb02bc3cd72ac0e05bf4f2d549011ff793f64c3..696739331f398a36a630dac6ae8179e7514038a7 100644 GIT binary patch delta 868 zcmbu6PiqrF7{;I3Y@6*8wY26S2u|>l984&Ppp_mh9>nHkE!OyNlAUg*-JMxyCxM=F z^WeeDg5XU*Lg_(J(1SNWf_G0Iy^AjitpQUhczI{unTOx|%roDwf4jK&_1A|_0Ip(C zhR0AV#8T~G#rfXZjl(bgqCc9yskCxy45fNwi@{$vku2j8!?|5C6s<()xOLlFV*@;4 z_;FubnVV!NBi=J@<9Ju{BYwCrQJg5?&TzrqekT7zy7t%HDQt)io>lMwf}vX9 z_!G!IXO)gu8(YQCpb_}4uX2XV#Y$8GTpo z(-+k55ctjVyE6=-m74NtnZMv4G^jEi47F{Q=VWJ-lE@EVR6A@m2S%>9sXiQk zeu;KK_z|7$rN{5_^fPrHx>V=KHy6;OePyCT1W6sk4q~cD1dq-pg#HY|%W1;s7_p1J tQzKqYBaR6PQnFg6;U4rU&8XKiQRak1X1(X_41$MjY~wi`tv)@>{sxyQ%UA#a literal 7397 zcmb7Id0+Owp zIAN#a;gvn>ooGhD(C%se*rtBXX52)$%}r+-1ZpB~JY{FHz9TUI13xcnE8k{ABgvs; zRG_vkzdgXoDch3jyd>pZ$*k`69V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/ChunkBorders.class deleted file mode 100644 index 49820b9fb4859ea8d5a1cead63f54a8a1f64652d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1453 zcmdT^O>fgc5S>j!6PrM2pchU{PXSf&g%d%Dq%9RvS|m~`aU9!&v+a7H;2KMaNiDbYN2f>(7-@{)K?G?&D(t^&Oj10|Ei<6P#hB(PYt{ zbJjKCwy5{s8E$L!j8d7{yigjwvPKrp#+vf-nGA#RnejN6R3%A1^Y)aC-0E*_%a@Yo z1tp%d@q;HP{X~@uz%_a0wj6uzk-W|e>--zDOF5c!mlBQcy!RpIbXiuJ(i5g(a5N#w zoN$gbc{U1<+9O>U54QE`1Uh{ez|bP8DkVet1o|GeT`GA#D%nfSfpP2*Q{u$W+9 z+ZgqK`(aiqFoY)DX~8YHD`2xbx^$GWcgke_%5mBw{xuJ$c}(u8l8}JT$R?2R{I-?A$8= diff --git a/bin/main/net/minecraft/client/renderer/entity/RenderManager.class b/bin/main/net/minecraft/client/renderer/entity/RenderManager.class index ea52369af64b80f8b4a2667a5161041835de08c5..2c64b6c95336b5781cf091c9a72199e6aaf9ddf2 100644 GIT binary patch delta 32 jcmZqNz}UEfaYMGfAR_}mg8%~q10#bVgx*|Z-zotBc9;ep delta 32 jcmZqNz}UEfaYMGfAQJ;Wg8%~q0~3QFgx*|Z-zotBcEScB diff --git a/src/main/java/dev/resent/module/impl/misc/ChunkBorders.java b/src/main/java/dev/resent/module/impl/misc/ChunkBorders.java index 8d826733..e38ff887 100644 --- a/src/main/java/dev/resent/module/impl/misc/ChunkBorders.java +++ b/src/main/java/dev/resent/module/impl/misc/ChunkBorders.java @@ -1,40 +1,40 @@ -package dev.resent.module.impl.misc; +// package dev.resent.module.impl.misc; -import dev.resent.Resent; -import dev.resent.event.impl.RenderWorldEvent; -import dev.resent.module.base.Category; -import dev.resent.module.base.Mod; -GlStateManager.popMatrix(); -import net.minecraft.src.AxisAlignedBB; -import net.minecraft.src.RenderGlobal; -import net.minecraft.src.RenderManager; +// import dev.resent.Resent; +// import dev.resent.event.impl.RenderWorldEvent; +// import dev.resent.module.base.Category; +// import dev.resent.module.base.Mod; +// import net.lax1dude.eaglercraft.v1_8.opengl.GlStateManager; +// import net.minecraft.client.renderer.RenderGlobal; +// import net.minecraft.client.renderer.entity.RenderManager; +// import net.minecraft.util.AxisAlignedBB; -public class ChunkBorders extends Mod{ - public ChunkBorders() { - super("ChunkBorders", Category.MISC); - Resent.INSTANCE.events().subscribe(RenderWorldEvent.class, event -> { - if (this.isEnabled() && mc.theWorld != null) { +// public class ChunkBorders extends Mod{ +// public ChunkBorders() { +// super("ChunkBorders", Category.MISC); +// Resent.INSTANCE.events().subscribe(RenderWorldEvent.class, event -> { +// if (this.isEnabled() && mc.theWorld != null) { - final int chunkX = mc.thePlayer.chunkCoordX * 16; - final int chunkZ = mc.thePlayer.chunkCoordZ * 16; +// final int chunkX = mc.thePlayer.chunkCoordX * 16; +// final int chunkZ = mc.thePlayer.chunkCoordZ * 16; - final AxisAlignedBB chunkBB = AxisAlignedBB.getBoundingBox( - chunkX, 0.0, chunkZ, - chunkX + 16.0, 255.0, chunkZ + 16.0); +// final AxisAlignedBB chunkBB = AxisAlignedBB.getBoundingBox( +// chunkX, 0.0, chunkZ, +// chunkX + 16.0, 255.0, chunkZ + 16.0); - GlStateManager.pushMatrix(); - EaglerAdapter.glColor3f(1.0f, 1.0f, 0.0f); - EaglerAdapter.glDisable(EaglerAdapter.GL_TEXTURE_2D); - EaglerAdapter.glDisable(EaglerAdapter.GL_DEPTH_TEST); - EaglerAdapter.glTranslatef((float)-RenderManager.renderPosX, (float)-RenderManager.renderPosY, (float)-RenderManager.renderPosZ); - EaglerAdapter.glLineWidth(1f); +// GlStateManager.pushMatrix(); +// GlStateManager.color(1.0f, 1.0f, 0.0f); +// GlStateManager.disableTexture2D(); +// GlStateManager.disableDepth(); +// GlStateManager.translate((float)-RenderManager.renderPosX, (float)-RenderManager.renderPosY, (float)-RenderManager.renderPosZ); +// GlStateManager.line(1f); - RenderGlobal.drawOutlinedBoundingBox(chunkBB); - EaglerAdapter.glEnable(EaglerAdapter.GL_DEPTH_TEST); - EaglerAdapter.glEnable(EaglerAdapter.GL_TEXTURE_2D); - GlStateManager.popMatrix(); - } - }); - } +// RenderGlobal.drawOutlinedBoundingBox(chunkBB); +// GlStateManager.enableDepth(); +// GlStateManager.enableTexture2D(); +// GlStateManager.popMatrix(); +// } +// }); +// } -} +// } diff --git a/src/main/java/net/minecraft/client/renderer/entity/RenderManager.java b/src/main/java/net/minecraft/client/renderer/entity/RenderManager.java index 6b1fb01c..87c59996 100644 --- a/src/main/java/net/minecraft/client/renderer/entity/RenderManager.java +++ b/src/main/java/net/minecraft/client/renderer/entity/RenderManager.java @@ -126,9 +126,9 @@ public class RenderManager { private Map skinMap = Maps.newHashMap(); private RenderPlayer playerRenderer; private FontRenderer textRenderer; - private double renderPosX; - private double renderPosY; - private double renderPosZ; + public double renderPosX; + public double renderPosY; + public double renderPosZ; public TextureManager renderEngine; public World worldObj; public Entity livingPlayer;