diff --git a/bin/main/dev/resent/module/base/ModManager.class b/bin/main/dev/resent/module/base/ModManager.class index bfb02bc3..69673933 100644 Binary files a/bin/main/dev/resent/module/base/ModManager.class and b/bin/main/dev/resent/module/base/ModManager.class differ diff --git a/bin/main/dev/resent/module/impl/misc/ChunkBorders.class b/bin/main/dev/resent/module/impl/misc/ChunkBorders.class deleted file mode 100644 index 49820b9f..00000000 Binary files a/bin/main/dev/resent/module/impl/misc/ChunkBorders.class and /dev/null differ diff --git a/bin/main/net/minecraft/client/renderer/entity/RenderManager.class b/bin/main/net/minecraft/client/renderer/entity/RenderManager.class index ea52369a..2c64b6c9 100644 Binary files a/bin/main/net/minecraft/client/renderer/entity/RenderManager.class and b/bin/main/net/minecraft/client/renderer/entity/RenderManager.class differ 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;