Port FPS to 1.8, remove instances of EaglerAdapter
This commit is contained in:
parent
44b2634605
commit
43115ef1d4
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -6,7 +6,7 @@ import dev.resent.event.impl.EventUpdate;
|
||||||
import dev.resent.module.base.Category;
|
import dev.resent.module.base.Category;
|
||||||
import dev.resent.module.base.Mod;
|
import dev.resent.module.base.Mod;
|
||||||
import dev.resent.util.misc.W;
|
import dev.resent.util.misc.W;
|
||||||
import net.lax1dude.eaglercraft.EaglerAdapter;
|
import net.lax1dude.eaglercraft.v1_8.Keyboard;
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
|
|
||||||
@SuppressWarnings("all")
|
@SuppressWarnings("all")
|
||||||
|
@ -36,7 +36,7 @@ public class Freelook extends Mod {
|
||||||
mc.gameSettings.thirdPersonView = previousePrespective;
|
mc.gameSettings.thirdPersonView = previousePrespective;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (EaglerAdapter.getEventKey() == 6 && mc.gameSettings.keyBindFunction.pressed) {
|
if (Keyboard.getEventKey() == 6 && mc.gameSettings.keyBindFunction.pressed) {
|
||||||
perspectiveToggled = false;
|
perspectiveToggled = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@ import dev.resent.setting.ModeSetting;
|
||||||
import dev.resent.util.misc.FuncUtils;
|
import dev.resent.util.misc.FuncUtils;
|
||||||
import dev.resent.util.render.RainbowUtil;
|
import dev.resent.util.render.RainbowUtil;
|
||||||
import dev.resent.util.render.RenderUtils;
|
import dev.resent.util.render.RenderUtils;
|
||||||
import net.lax1dude.eaglercraft.EaglerAdapter;
|
GlStateManager.popMatrix();
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.client.gui.Gui;
|
import net.minecraft.client.gui.Gui;
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import dev.resent.Resent;
|
||||||
import dev.resent.module.base.Category;
|
import dev.resent.module.base.Category;
|
||||||
import dev.resent.module.base.RenderModule;
|
import dev.resent.module.base.RenderModule;
|
||||||
import dev.resent.util.render.Color;
|
import dev.resent.util.render.Color;
|
||||||
import net.lax1dude.eaglercraft.EaglerAdapter;
|
GlStateManager.popMatrix();
|
||||||
import net.minecraft.src.FontRenderer;
|
import net.minecraft.src.FontRenderer;
|
||||||
|
|
||||||
public class Watermark extends RenderModule{
|
public class Watermark extends RenderModule{
|
||||||
|
|
|
@ -4,7 +4,7 @@ import dev.resent.Resent;
|
||||||
import dev.resent.event.impl.RenderWorldEvent;
|
import dev.resent.event.impl.RenderWorldEvent;
|
||||||
import dev.resent.module.base.Category;
|
import dev.resent.module.base.Category;
|
||||||
import dev.resent.module.base.Mod;
|
import dev.resent.module.base.Mod;
|
||||||
import net.lax1dude.eaglercraft.EaglerAdapter;
|
GlStateManager.popMatrix();
|
||||||
import net.minecraft.src.AxisAlignedBB;
|
import net.minecraft.src.AxisAlignedBB;
|
||||||
import net.minecraft.src.RenderGlobal;
|
import net.minecraft.src.RenderGlobal;
|
||||||
import net.minecraft.src.RenderManager;
|
import net.minecraft.src.RenderManager;
|
||||||
|
|
|
@ -7,7 +7,7 @@ import dev.resent.module.base.Mod;
|
||||||
import dev.resent.setting.BooleanSetting;
|
import dev.resent.setting.BooleanSetting;
|
||||||
import dev.resent.setting.Setting;
|
import dev.resent.setting.Setting;
|
||||||
import dev.resent.util.misc.Keyboard;
|
import dev.resent.util.misc.Keyboard;
|
||||||
import net.lax1dude.eaglercraft.EaglerAdapter;
|
GlStateManager.popMatrix();
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.client.gui.Gui;
|
import net.minecraft.client.gui.Gui;
|
||||||
import net.minecraft.src.GuiButton;
|
import net.minecraft.src.GuiButton;
|
||||||
|
|
|
@ -9,7 +9,7 @@ import dev.resent.setting.Setting;
|
||||||
import dev.resent.util.misc.Keyboard;
|
import dev.resent.util.misc.Keyboard;
|
||||||
import dev.resent.util.render.Color;
|
import dev.resent.util.render.Color;
|
||||||
import dev.resent.util.render.RenderUtils;
|
import dev.resent.util.render.RenderUtils;
|
||||||
import net.lax1dude.eaglercraft.EaglerAdapter;
|
GlStateManager.popMatrix();
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.src.FontRenderer;
|
import net.minecraft.src.FontRenderer;
|
||||||
import net.minecraft.client.gui.Gui;
|
import net.minecraft.client.gui.Gui;
|
||||||
|
|
|
@ -212,7 +212,7 @@ public class Minecraft implements IThreadListener {
|
||||||
public GameSettings gameSettings;
|
public GameSettings gameSettings;
|
||||||
public MouseHelper mouseHelper;
|
public MouseHelper mouseHelper;
|
||||||
private final String launchedVersion;
|
private final String launchedVersion;
|
||||||
private static int debugFPS;
|
public static int debugFPS;
|
||||||
private int rightClickDelayTimer;
|
private int rightClickDelayTimer;
|
||||||
private String serverName;
|
private String serverName;
|
||||||
private int serverPort;
|
private int serverPort;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user