fuck this
This commit is contained in:
parent
761bbc9bd4
commit
2c5fa4083a
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -83,12 +83,9 @@ public class ModManager {
|
|||
public static AdminSpawner adminSpawner =new AdminSpawner();
|
||||
public static ParticleMultiplier particleMultiplier = new ParticleMultiplier();
|
||||
public static Hand hand;
|
||||
public static ReachCircle reachCircle = new ReachCircle();
|
||||
|
||||
public ModManager() {
|
||||
|
||||
register(reachCircle);
|
||||
|
||||
//Hud
|
||||
register(hand = new Hand());
|
||||
register(adminSpawner);
|
||||
|
|
|
@ -54,11 +54,11 @@ public class ReachCircle extends Mod{
|
|||
|
||||
EaglercraftGPU.glLineWidth(2);
|
||||
setColor(color.getRGB(), (color.getRGB() >> 24 & 255) / 255.0F);
|
||||
worldrenderer.begin(1, DefaultVertexFormats.POSITION);
|
||||
worldrenderer.begin(3, DefaultVertexFormats.POSITION);
|
||||
|
||||
for (int i = 0; i <= 90; ++i) {
|
||||
setColor(color.getRGB(), 40);
|
||||
worldrenderer.pos(x + rad * Math.cos((double) i * 6.283185307179586D / 45.0D), y, z + rad * Math.sin((double) i * 6.283185307179586D / 45.0D));
|
||||
worldrenderer.pos(x + rad * Math.cos((double) i * 6.283185307179586D / 45.0D), y, z + rad * Math.sin((double) i * 6.283185307179586D / 45.0D)).endVertex();
|
||||
}
|
||||
|
||||
tessellator.draw();
|
||||
|
|
|
@ -1061,8 +1061,6 @@ public class EntityRenderer implements IResourceManagerReloadListener {
|
|||
}
|
||||
|
||||
private void renderWorldPass(int pass, float partialTicks, long finishTimeNano) {
|
||||
if(ModManager.reachCircle.isEnabled())
|
||||
ModManager.reachCircle.uwu(partialTicks);
|
||||
RenderGlobal renderglobal = this.mc.renderGlobal;
|
||||
EffectRenderer effectrenderer = this.mc.effectRenderer;
|
||||
boolean flag = this.isDrawBlockOutline();
|
||||
|
|
Loading…
Reference in New Issue
Block a user