Remove NoHurtCam

This commit is contained in:
ThisIsALegitUsername 2023-01-13 00:20:12 +00:00
parent 09a0a64025
commit 191126fcd3
5 changed files with 5 additions and 31942 deletions

File diff suppressed because it is too large Load Diff

View File

@ -27,7 +27,6 @@ import dev.resent.module.impl.misc.DynamicFOV;
import dev.resent.module.impl.misc.FPSB; import dev.resent.module.impl.misc.FPSB;
import dev.resent.module.impl.misc.Fullbright; import dev.resent.module.impl.misc.Fullbright;
import dev.resent.module.impl.misc.MinimalViewBobbing; import dev.resent.module.impl.misc.MinimalViewBobbing;
import dev.resent.module.impl.misc.NoHurtCam;
import dev.resent.module.impl.misc.NoParticles; import dev.resent.module.impl.misc.NoParticles;
import dev.resent.module.impl.misc.NoRain; import dev.resent.module.impl.misc.NoRain;
import dev.resent.module.impl.misc.NoSwingDelay; import dev.resent.module.impl.misc.NoSwingDelay;
@ -52,7 +51,7 @@ public class ModManager {
public static NoRain noRain = new NoRain(); public static NoRain noRain = new NoRain();
public static DynamicFOV dynamicFOV = new DynamicFOV(); public static DynamicFOV dynamicFOV = new DynamicFOV();
public static PotionHUD potionHud; public static PotionHUD potionHud;
public static NoHurtCam noHurtCam = new NoHurtCam(); //public static NoHurtCam noHurtCam = new NoHurtCam();
public static Info coordinate; public static Info coordinate;
public static FPS fps; public static FPS fps;
public static ReachDisplay reachDisplay; public static ReachDisplay reachDisplay;
@ -107,7 +106,7 @@ public class ModManager {
register(noRain); register(noRain);
register(dynamicFOV); register(dynamicFOV);
register(sprint = new Sprint()); register(sprint = new Sprint());
register(noHurtCam); //register(noHurtCam);
register(autoGG = new AutoGG()); register(autoGG = new AutoGG());
register(hitboxes); register(hitboxes);
//register(chunkBorders = new ChunkBorders()); //register(chunkBorders = new ChunkBorders());

View File

@ -1,10 +0,0 @@
package dev.resent.module.impl.misc;
import dev.resent.module.base.Category;
import dev.resent.module.base.Mod;
public class NoHurtCam extends Mod{
public NoHurtCam(){
super("NoHurtCam", Category.MISC);
}
}

View File

@ -8,7 +8,7 @@ import dev.resent.module.impl.misc.AutoGG;
import dev.resent.module.impl.misc.ClearChat; import dev.resent.module.impl.misc.ClearChat;
import dev.resent.module.impl.misc.DynamicFOV; import dev.resent.module.impl.misc.DynamicFOV;
import dev.resent.module.impl.misc.FPSB; import dev.resent.module.impl.misc.FPSB;
import dev.resent.module.impl.misc.NoHurtCam; //import dev.resent.module.impl.misc.NoHurtCam;
import dev.resent.module.impl.misc.NoParticles; import dev.resent.module.impl.misc.NoParticles;
import dev.resent.module.impl.misc.NoRain; import dev.resent.module.impl.misc.NoRain;
import dev.resent.module.impl.misc.Scoreboard; import dev.resent.module.impl.misc.Scoreboard;
@ -18,7 +18,7 @@ public class W {
public static NoRain noRain(){ return ModManager.noRain; } public static NoRain noRain(){ return ModManager.noRain; }
public static DynamicFOV dynamicFOV(){ return ModManager.dynamicFOV; } public static DynamicFOV dynamicFOV(){ return ModManager.dynamicFOV; }
public static NoHurtCam noHurtCam(){ return ModManager.noHurtCam; } //public static NoHurtCam noHurtCam(){ return ModManager.noHurtCam; }
public static AutoGG autoGG() { return ModManager.autoGG; } public static AutoGG autoGG() { return ModManager.autoGG; }
public static Freelook freelook(){ return ModManager.freelook; } public static Freelook freelook(){ return ModManager.freelook; }
public static ComboCounter comboCounter(){ return ModManager.comboCounter; } public static ComboCounter comboCounter(){ return ModManager.comboCounter; }

View File

@ -422,7 +422,7 @@ public class EntityRenderer implements IResourceManagerReloadListener {
} }
private void hurtCameraEffect(float partialTicks) { private void hurtCameraEffect(float partialTicks) {
if (this.mc.getRenderViewEntity() instanceof EntityLivingBase && !W.noHurtCam().isEnabled()) { if (this.mc.getRenderViewEntity() instanceof EntityLivingBase /* && !W.noHurtCam().isEnabled()*/) {
EntityLivingBase entitylivingbase = (EntityLivingBase) this.mc.getRenderViewEntity(); EntityLivingBase entitylivingbase = (EntityLivingBase) this.mc.getRenderViewEntity();
float f = (float) entitylivingbase.hurtTime - partialTicks; float f = (float) entitylivingbase.hurtTime - partialTicks;
if (entitylivingbase.getHealth() <= 0.0F) { if (entitylivingbase.getHealth() <= 0.0F) {