mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 08:21:32 +01:00
(remove) radmir mod
This commit is contained in:
parent
30b2f27796
commit
81feece89e
@ -12,7 +12,6 @@ import net.minecraft.util.ResourceLocation;
|
|||||||
import net.silentclient.client.Client;
|
import net.silentclient.client.Client;
|
||||||
import net.silentclient.client.cosmetics.StaticResourceLocation;
|
import net.silentclient.client.cosmetics.StaticResourceLocation;
|
||||||
import net.silentclient.client.mixin.ducks.TextureManagerExt;
|
import net.silentclient.client.mixin.ducks.TextureManagerExt;
|
||||||
import net.silentclient.client.mods.staff.RadmirMod;
|
|
||||||
import net.silentclient.client.utils.ColorUtils;
|
import net.silentclient.client.utils.ColorUtils;
|
||||||
import org.lwjgl.opengl.GL11;
|
import org.lwjgl.opengl.GL11;
|
||||||
|
|
||||||
@ -184,14 +183,12 @@ public class RenderUtil {
|
|||||||
OpenGlHelper.glBlendFunc((int) 770, (int) 771, (int) 1, (int) 0);
|
OpenGlHelper.glBlendFunc((int) 770, (int) 771, (int) 1, (int) 0);
|
||||||
GL11.glColor4f((float) 1.0f, (float) 1.0f, (float) 1.0f, 1f);
|
GL11.glColor4f((float) 1.0f, (float) 1.0f, (float) 1.0f, 1f);
|
||||||
ColorUtils.setColor(color);
|
ColorUtils.setColor(color);
|
||||||
if(image != null && !Client.getInstance().getModInstances().getModByClass(RadmirMod.class).isEnabled()) {
|
if(image != null) {
|
||||||
if(mip) {
|
if(mip) {
|
||||||
Client.getInstance().getTextureManager().bindTextureMipmapped(image);
|
Client.getInstance().getTextureManager().bindTextureMipmapped(image);
|
||||||
} else {
|
} else {
|
||||||
Minecraft.getMinecraft().getTextureManager().bindTexture(image);
|
Minecraft.getMinecraft().getTextureManager().bindTexture(image);
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
Client.getInstance().getTextureManager().bindTextureMipmapped(new ResourceLocation("silentclient/mods/radmir/radmir.png"));
|
|
||||||
}
|
}
|
||||||
drawModalRectWithCustomSizedTexture(x, y, 0.0f, 0.0f, width, height, width, height);
|
drawModalRectWithCustomSizedTexture(x, y, 0.0f, 0.0f, width, height, width, height);
|
||||||
GL11.glDepthMask((boolean) true);
|
GL11.glDepthMask((boolean) true);
|
||||||
|
@ -182,7 +182,6 @@ public class ModInstances {
|
|||||||
mods.add(new DebugNpcMod());
|
mods.add(new DebugNpcMod());
|
||||||
mods.add(new HitDelayFixMod());
|
mods.add(new HitDelayFixMod());
|
||||||
mods.add(new FPSSpoofer());
|
mods.add(new FPSSpoofer());
|
||||||
mods.add(new RadmirMod());
|
|
||||||
}
|
}
|
||||||
mods.add(new NewMotionBlurMod());
|
mods.add(new NewMotionBlurMod());
|
||||||
if(Client.getInstance().getAccount().getUsername().equalsIgnoreCase("fushka")) {
|
if(Client.getInstance().getAccount().getUsername().equalsIgnoreCase("fushka")) {
|
||||||
@ -190,7 +189,6 @@ public class ModInstances {
|
|||||||
}
|
}
|
||||||
mods.add(new QuickPlayMod());
|
mods.add(new QuickPlayMod());
|
||||||
mods.add(new SoundsMod());
|
mods.add(new SoundsMod());
|
||||||
// mods.add(new ItemSizeMod());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void postInit() {
|
public void postInit() {
|
||||||
|
Loading…
Reference in New Issue
Block a user