FIX ALL CRASHES 🔥 CLIENT IS READY.
This commit is contained in:
parent
6aae1eeebb
commit
5dfe0979bf
.gradle
6.0
executionHistory
fileHashes
javaCompile
buildOutputCleanup
javascript
src/main/java
dev/resent
net/minecraft/client
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
.project
2
.project
|
@ -22,7 +22,7 @@
|
|||
</natures>
|
||||
<filteredResources>
|
||||
<filter>
|
||||
<id>1</id>
|
||||
<id>0</id>
|
||||
<name></name>
|
||||
<type>30</type>
|
||||
<matcher>
|
||||
|
|
761331
javascript/EaglercraftX_1.8_Offline_International.html
Normal file
761331
javascript/EaglercraftX_1.8_Offline_International.html
Normal file
File diff suppressed because one or more lines are too long
163183
javascript/classes.js
163183
javascript/classes.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
761331
javascript/istayedupuntil3am.html
Normal file
761331
javascript/istayedupuntil3am.html
Normal file
File diff suppressed because one or more lines are too long
|
@ -31,7 +31,7 @@ public class Resent {
|
|||
public ModManager modManager;
|
||||
|
||||
public void init() {
|
||||
//modManager = new ModManager();
|
||||
modManager = new ModManager();
|
||||
}
|
||||
|
||||
public void saveSettings(PrintWriter printwriter){
|
||||
|
@ -61,7 +61,6 @@ public class Resent {
|
|||
}
|
||||
|
||||
public void loadSettings(String[] astring){
|
||||
modManager = new ModManager();
|
||||
for(Mod m : modManager.modules){
|
||||
|
||||
List<RenderModule> rmodules = new ArrayList<>();
|
||||
|
|
|
@ -39,7 +39,6 @@ import dev.resent.module.impl.misc.Tooltips;
|
|||
import dev.resent.module.impl.movement.AutoJump;
|
||||
import dev.resent.module.impl.movement.AutoWalk;
|
||||
import dev.resent.module.impl.movement.Sprint;
|
||||
import dev.resent.ui.mods.HUDConfigScreen;
|
||||
import net.minecraft.client.Minecraft;
|
||||
|
||||
public class ModManager {
|
||||
|
@ -73,7 +72,7 @@ public class ModManager {
|
|||
public static Scoreboard scoreboard;
|
||||
public static AutoWalk autoWalk;
|
||||
public static AutoJump autoJump;
|
||||
public static SelfNametag selfNametag;
|
||||
public static SelfNametag selfNametag = new SelfNametag();
|
||||
public static Scoreboard scoreboard2;
|
||||
public static ClearChat clearChat = new ClearChat();
|
||||
public static Tooltips tooltips;
|
||||
|
@ -156,14 +155,4 @@ public class ModManager {
|
|||
return modules1;
|
||||
}
|
||||
|
||||
public void renderMods() {
|
||||
for (int i = 0; i < modules.size(); i++) {
|
||||
if (modules.get(i).isEnabled() && (modules.get(i) instanceof RenderModule)) {
|
||||
if (!(mc.currentScreen instanceof HUDConfigScreen)) {
|
||||
((RenderModule) modules.get(i)).draw();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -420,6 +420,7 @@ public class Minecraft implements IThreadListener {
|
|||
GlStateManager.loadIdentity();
|
||||
GlStateManager.matrixMode(GL_MODELVIEW);
|
||||
this.checkGLError("Startup");
|
||||
Resent.INSTANCE.init();
|
||||
this.textureMapBlocks = new TextureMap("textures");
|
||||
this.textureMapBlocks.setMipmapLevels(this.gameSettings.mipmapLevels);
|
||||
this.renderEngine.loadTickableTexture(TextureMap.locationBlocksTexture, this.textureMapBlocks);
|
||||
|
@ -445,8 +446,6 @@ public class Minecraft implements IThreadListener {
|
|||
this.checkGLError("Post startup");
|
||||
this.ingameGUI = new GuiIngame(this);
|
||||
|
||||
Resent.INSTANCE.init();
|
||||
|
||||
ServerList.initServerList(this);
|
||||
EaglerProfile.read();
|
||||
|
||||
|
|
|
@ -14,6 +14,9 @@ import com.google.common.collect.Iterables;
|
|||
import com.google.common.collect.Lists;
|
||||
|
||||
import dev.resent.Resent;
|
||||
import dev.resent.module.base.Mod;
|
||||
import dev.resent.module.base.RenderModule;
|
||||
import dev.resent.ui.mods.HUDConfigScreen;
|
||||
import dev.resent.util.misc.W;
|
||||
import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
import net.lax1dude.eaglercraft.v1_8.minecraft.EaglerTextureAtlasSprite;
|
||||
|
@ -319,7 +322,15 @@ public class GuiIngame extends Gui {
|
|||
this.overlayPlayerList.renderPlayerlist(i, scoreboard, scoreobjective1);
|
||||
}
|
||||
|
||||
Resent.INSTANCE.modManager.renderMods();
|
||||
|
||||
for (Mod m : Resent.INSTANCE.modManager.modules) {
|
||||
if (m.isEnabled() && (m instanceof RenderModule)) {
|
||||
if (!(mc.currentScreen instanceof HUDConfigScreen)) {
|
||||
((RenderModule) m).draw();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F);
|
||||
GlStateManager.disableLighting();
|
||||
GlStateManager.enableAlpha();
|
||||
|
|
|
@ -69,7 +69,7 @@ public abstract class Render<T extends Entity> {
|
|||
}
|
||||
|
||||
protected boolean canRenderName(T entity) {
|
||||
return entity.getAlwaysRenderNameTagForRender() && entity.hasCustomName() || W.selfNametag().isEnabled();
|
||||
return entity.getAlwaysRenderNameTagForRender() && entity.hasCustomName();
|
||||
}
|
||||
|
||||
protected void renderOffsetLivingLabel(T entityIn, double x, double y, double z, String str, float parFloat1,
|
||||
|
|
Loading…
Reference in New Issue
Block a user