-
Автор темы
- #1
Перед прочтением основного контента ниже, пожалуйста, обратите внимание на обновление внутри секции Майна на нашем форуме. У нас появились:
- бесплатные читы для Майнкрафт — любое использование на свой страх и риск;
- маркетплейс Майнкрафт — абсолютно любая коммерция, связанная с игрой, за исключением продажи читов (аккаунты, предоставления услуг, поиск кодеров читов и так далее);
- приватные читы для Minecraft — в этом разделе только платные хаки для игры, покупайте группу "Продавец" и выставляйте на продажу свой софт;
- обсуждения и гайды — всё тот же раздел с вопросами, но теперь модернизированный: поиск нужных хаков, пати с игроками-читерами и другая полезная информация.
Спасибо!
Код:
package b.a.e.a;
import b.a.b.a.d;
import b.a.b.a.k;
import b.a.b.a.l;
import b.a.b.a.o;
import b.a.b.a.q;
import b.a.e.e.a.b;
import b.a.e.e.a.c;
import b.a.e.e.a.e;
import b.a.e.e.a.f;
import b.a.i.j;
import java.awt.Color;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
import java.util.stream.Collectors;
import net.minecraft.client.l.h;
import net.minecraft.g.B;
import net.minecraft.g.x;
import net.minecraft.g.f.v;
import net.minecraft.m.d.a.S;
import net.minecraft.m.d.a.m;
import net.minecraft.m.d.a.z;
import net.minecraft.z.J;
import net.minecraft.z.ak;
import net.minecraft.z.c.b.g;
public class a extends b.a.e.a {
e hNA = new e("Мод ротации", "Funtime", new String[]{"Funtime", "ReallyWorld"});
e hNB = new e("Сортировка", "Жизни", new String[]{"Жизни", "Дистанция"});
b hNC = new b("Игнор", new c[]{new c("Игроки", false), new c("Голые", true), new c("Друзья", true), new c("Животные", true), new c("Монстры", true), new c("Невидимки", false)});
f hND = new f("Дистанция", 3.2F, 3.0F, 6.0F, 0.1F);
c hNE = new c("Только криты", true);
c hNF = (new c("Спринт", true)).v(() -> {
return (Boolean)this.hNE.get();
});
c hNG = new c("Отображать цель", true);
public c hNH = new c("Игнор прыгучести", true);
private g hNI;
private g hNJ;
public x cIJ;
private float bdw;
private float acp;
private float hNK;
public float hNL;
Comparator<x> eTU;
public a() {
super(a.hNt, 82, "Aura");
this.hNI = g.fyR;
this.hNJ = g.fyR;
this.hNL = 0.0F;
Comparator var10001;
switch ((String)this.hNB.hOU) {
case "Жизни":
var10001 = (var0, var1x) -> {
float var2 = var0.TZ();
float var3 = var1x.TZ();
return Float.compare(var2, var3);
};
break;
default:
var10001 = (var0, var1x) -> {
double var2 = (double)hMz.aqy.L(var0);
double var4 = (double)hMz.aqy.L(var1x);
return Double.compare(var2, var4);
};
}
this.eTU = var10001;
}
private boolean buf() {
return !hMz.aqy.dgm.dfH && !hMz.aqy.UY() && !hMz.aqy.d(net.minecraft.p.g.emF) && !h.i(hMz.mK().kN(), hMz.apK.amf.IT().JN()) ? hMz.aqy.Qw() || hMz.aqy.Ql() == B.cxK || hMz.aqy.QW() || hMz.aqy.Tg() || hMz.aqy.pA() || hMz.aqy.RD() : j.bwg();
}
public void b(b.a.b.a var1) {
b.a.b.a.e var2;
if (var1 instanceof b.a.b.a.e && (var2 = (b.a.b.a.e)var1) == (b.a.b.a.e)var1) {
this.a(var2);
}
b.a.b.a.g var4;
if (var1 instanceof b.a.b.a.g && (var4 = (b.a.b.a.g)var1) == (b.a.b.a.g)var1) {
this.a(var4);
}
b.a.b.a.f var6;
if (var1 instanceof b.a.b.a.f && (var6 = (b.a.b.a.f)var1) == (b.a.b.a.f)var1) {
this.a(var6);
}
l var8;
if (var1 instanceof l && (var8 = (l)var1) == (l)var1) {
this.a(var8);
}
b.a.b.a.a var10;
if (var1 instanceof b.a.b.a.a && (var10 = (b.a.b.a.a)var1) == (b.a.b.a.a)var1) {
this.a(var10);
}
k var12;
if (var1 instanceof k && (var12 = (k)var1) == (k)var1) {
this.a(var12);
}
o var14;
if (var1 instanceof o && (var14 = (o)var1) == (o)var1) {
this.a(var14);
}
q var16;
if (var1 instanceof q && (var16 = (q)var1) == (q)var1) {
this.a(var16);
}
if (var1 instanceof d) {
this.cIJ = null;
}
}
public void a(o var1) {
if (this.cIJ != null) {
var1.cN(this.bdw);
} else {
this.btX();
}
}
public void a(k var1) {
if (this.cIJ != null) {
var1.cN(this.bdw);
} else {
this.btX();
}
}
public void a(b.a.b.a.e var1) {
net.minecraft.m.c var3 = var1.bsO();
S var2;
if (var3 instanceof S && (var2 = (S)var3) == (S)var3 && (var2.aub() == net.minecraft.m.d.a.S.a.ecf || var2.aub() == net.minecraft.m.d.a.S.a.ecd)) {
var1.fa(true);
}
net.minecraft.m.c var5 = var1.bsO();
z var4;
if (var5 instanceof z && (var4 = (z)var5) == (z)var5 && var4.aox() == J.eSc) {
var1.fa(true);
}
}
public void a(b.a.b.a.f var1) {
this.cIJ = this.bub();
boolean var2 = this.cIJ != null;
if (var2) {
this.bua();
if (this.bue() && b.a.e.c.a(this.cIJ, this.bdw, this.acp, (double)(Float)this.hND.get()) == this.cIJ) {
if ((Boolean)this.hNE.get() && m.eaA && !hMz.aqy.RD() && !hMz.aqy.QJ() && hMz.aqy.Ql() != B.cxK && (Boolean)this.hNF.get()) {
hMz.aqy.avh.b(new m(hMz.aqy, net.minecraft.m.d.a.m.a.eaI));
hMz.aqy.L(false);
hMz.aqy.avv = false;
}
if (!m.eaA) {
hMz.aqy.avh.b(new S(this.cIJ, hMz.aqy.pC()));
hMz.aqy.a(J.eSb);
hMz.aqy.ajG();
}
}
} else {
this.btX();
}
}
public void a(b.a.b.a.g var1) {
if (this.cIJ != null) {
var1.cN(this.bdw);
var1.r(this.acp);
hMz.aqy.cwe = this.bdw;
hMz.aqy.cwc = this.bdw;
}
}
public void a(b.a.b.a.a var1) {
if (this.cIJ != null && (Boolean)this.hNG.get()) {
double var2 = Math.sin((double)System.currentTimeMillis() / 1000.0);
float var4 = 150.0F;
double[] var5 = hMA.bC(this.cIJ);
double[] var6 = var1.as(var5[0], var5[1] + (double)(this.cIJ.SB() / 2.0F), var5[2]);
if (var6 != null) {
com.mojang.a.b.b.af();
com.mojang.a.b.b.c(var6[0], var6[1], 0.0);
com.mojang.a.b.b.d((float)var2 * 360.0F, 0.0F, 0.0F, 1.0F);
com.mojang.a.b.b.c(-var6[0], -var6[1], 0.0);
Color[] var7 = hMy.bte().pa(4);
b.a.f.a var10000 = hMA;
b.a.f.a.a(new ak("fluger/image/target.png"), (float)(var6[0] - (double)(var4 / 2.0F)), (float)(var6[1] - (double)(var4 / 2.0F)), var4, var4, var7[0], var7[1], var7[2], var7[3]);
com.mojang.a.b.b.ag();
}
}
}
public void a(l var1) {
if (this.cIJ != null) {
j.a(var1, this.bdw);
} else {
this.btX();
}
}
public void a(q var1) {
if (this.cIJ != null) {
var1.cN(this.bdw);
} else {
this.btX();
}
}
private void bi() {
this.cIJ = null;
this.btX();
}
public void aC() {
super.aC();
this.bi();
}
public void aB() {
super.aB();
this.bi();
}
public g by(net.minecraft.g.f var1) {
float var2 = 0.003F;
float var3 = 0.03F;
float var4 = 0.001F;
float var5 = 0.03F;
double var6 = var1.yK().aLT();
double var8 = var1.yK().aLU();
double var10 = var1.yK().aLV();
if (this.hNJ.equals(g.fyR)) {
this.hNJ = new g((double)b.a.e.a.e.aa(-0.05F, 0.05F), (double)b.a.e.a.e.aa(-0.05F, 0.05F), (double)b.a.e.a.e.aa(-0.05F, 0.05F));
}
this.hNI = this.hNI.N(this.hNJ);
if (this.hNI.asV >= (var6 - 0.05) / 2.0) {
this.hNJ = new g((double)(-b.a.e.a.e.aa(var2, var3)), this.hNJ.nP(), this.hNJ.nQ());
}
if (this.hNI.asW >= var8) {
this.hNJ = new g(this.hNJ.nO(), (double)(-b.a.e.a.e.aa(var4, var5)), this.hNJ.nQ());
}
if (this.hNI.asX >= (var10 - 0.05) / 2.0) {
this.hNJ = new g(this.hNJ.nO(), this.hNJ.nP(), (double)(-b.a.e.a.e.aa(var2, var3)));
}
if (this.hNI.asV <= -(var6 - 0.05) / 2.0) {
this.hNJ = new g((double)b.a.e.a.e.aa(var2, 0.03F), this.hNJ.nP(), this.hNJ.nQ());
}
if (this.hNI.asW <= 0.05) {
this.hNJ = new g(this.hNJ.nO(), (double)b.a.e.a.e.aa(var4, var5), this.hNJ.nQ());
}
if (this.hNI.asX <= -(var10 - 0.05) / 2.0) {
this.hNJ = new g(this.hNJ.nO(), this.hNJ.nP(), (double)b.a.e.a.e.aa(var2, var3));
}
this.hNI.ae((double)b.a.e.a.e.aa(-0.03F, 0.03F), 0.0, (double)b.a.e.a.e.aa(-0.03F, 0.03F));
if (b.a.e.c.b((double)(Float)this.hND.get(), this.bdw, this.acp, hMz.aqy).aMl() == net.minecraft.z.c.o.a.fvC) {
float[] var13 = b.a.e.a.e.W(var1.SC().ae(0.0, (double)(var1.e(var1.Ql()) / 2.0F), 0.0));
if (b.a.e.a.e.X(var1.SC().ae(0.0, (double)(var1.e(var1.Ql()) / 2.0F), 0.0)) <= (Float)this.hND.get() && b.a.e.c.b((double)(Float)this.hND.get(), var13[0], var13[1], hMz.aqy).aMl() == net.minecraft.z.c.o.a.fvE) {
this.hNI = new g((double)b.a.e.a.e.aa(-0.1F, 0.1F), (double)(var1.e(var1.Ql()) / b.a.e.a.e.aa(1.8F, 2.5F)), (double)b.a.e.a.e.aa(-0.1F, 0.1F));
} else {
float var14 = (float)(var6 / 2.0);
for(float var15 = -var14; var15 <= var14; var15 += 0.05F) {
for(float var16 = -var14; var16 <= var14; var16 += 0.05F) {
for(float var17 = 0.05F; (double)var17 <= var1.yK().ftl; var17 += 0.15F) {
g var18 = new g(var1.SE() + (double)var15, var1.SF() + (double)var17, var1.SI() + (double)var16);
if (!(b.a.e.a.e.X(var18) > (Float)this.hND.get())) {
float[] var12 = b.a.e.a.e.W(var18);
if (b.a.e.c.b((double)(Float)this.hND.get(), var12[0], var12[1], hMz.aqy).aMl() == net.minecraft.z.c.o.a.fvE) {
this.hNI = new g((double)var15, (double)var17, (double)var16);
break;
}
}
}
}
}
}
}
return var1.SC().N(this.hNI);
}
public boolean bx(net.minecraft.g.f var1) {
if (b.a.e.a.e.X(var1.SC().ae(0.0, (double)var1.e(var1.Ql()), 0.0)) > this.btY() + 4.0F) {
return false;
} else {
float var3 = (float)(var1.yK().aLT() / 2.0);
for(float var4 = -var3; var4 <= var3; var4 += 0.15F) {
for(float var5 = -var3; var5 <= var3; var5 += 0.15F) {
for(float var6 = 0.05F; (double)var6 <= var1.yK().aLU(); var6 += 0.25F) {
if (!(b.a.e.a.e.X(new g(var1.SE() + (double)var4, var1.SF() + (double)var6, var1.SI() + (double)var5)) > this.btY())) {
float[] var2 = b.a.e.a.e.W(new g(var1.SE() + (double)var4, var1.SF() + (double)var6, var1.SI() + (double)var5));
if (b.a.e.c.b((double)((float)Math.sqrt((double)this.btY())), var2[0], var2[1], hMz.aqy).aMl() == net.minecraft.z.c.o.a.fvE) {
return true;
}
}
}
}
}
return false;
}
}
private float btY() {
float var1 = (Float)this.hND.get();
var1 += 3.1F;
return var1 * var1;
}
public void bua() {
switch ((String)this.hNA.hOU) {
case "ReallyWorld":
this.btZ();
break;
case "Funtime":
this.btZ();
}
}
private void btX() {
if (hMz.aqy == null) {
this.bdw = 0.0F;
this.acp = 0.0F;
} else {
this.bdw = hMz.aqy.crl + (hMz.aqy.Zn - hMz.aqy.crl) * hMz.mt();
this.acp = hMz.aqy.crm + (hMz.aqy.Zo - hMz.aqy.crm) * hMz.mt();
}
}
public x bub() {
ArrayList var1 = new ArrayList();
Iterator var3 = hMz.aqx.Kd().iterator();
while(var3.hasNext()) {
net.minecraft.g.f var2 = (net.minecraft.g.f)var3.next();
x var4;
if (var2 instanceof x && (var4 = (x)var2) == (x)var2) {
var1.add(var4);
}
}
List var6 = (List)var1.stream().filter((var1x) -> {
if (var1x.RH() && (Boolean)this.hNC.lr("Невидимки").get()) {
return false;
} else if ((Boolean)this.hNC.lr("Друзья").get() && hMy.btj().lD(var1x.RL().getString())) {
return false;
} else if (var1x.RH() && (Boolean)this.hNC.lr("Невидимки").get()) {
return false;
} else if ((Boolean)this.hNC.lr("Голые").get() && var1x.Ui() <= 0) {
return false;
} else if ((Boolean)this.hNC.lr("Монстры").get() && var1x instanceof v) {
return false;
} else if ((Boolean)this.hNC.lr("Животные").get() && var1x instanceof net.minecraft.g.g.b) {
return false;
} else if (hMz.aqy.L(var1x) >= (Float)this.hND.get()) {
return false;
} else if (!var1x.yJ()) {
return false;
} else if (!hMz.aqy.yJ()) {
return false;
} else {
return hMz.aqy != var1x;
}
}).collect(Collectors.toList());
var6.sort(this.eTU);
return (x)var6.stream().map((var0) -> {
return var0;
}).min(this.eTU).orElse((Object)null);
}
private void btZ() {
this.hNL = 1.0F;
if (this.cIJ != null) {
g var1 = this.by(this.cIJ);
if (var1 != null) {
this.hNK = b.a.e.c.b((double)((Float)this.hND.get() + 3.1F), this.bdw, this.acp, hMz.aqy).aMl() == net.minecraft.z.c.o.a.fvE ? 1.0F : (this.hNK < 8.0F ? this.hNK * 1.65F : 8.0F);
float var2 = b.a.e.a.e.bV((float)b.a.e.a.e.ak(Math.toDegrees(Math.atan2(var1.asX - hMz.aqy.SI(), var1.asV - hMz.aqy.SE())) - 90.0) - this.bdw);
float var3 = (float)(-Math.toDegrees(Math.atan2(var1.asW - (hMz.aqy.SC().asW + (double)hMz.aqy.e(hMz.aqy.Ql())), Math.sqrt(Math.pow(var1.asV - hMz.aqy.SE(), 2.0) + Math.pow(var1.asX - hMz.aqy.SI(), 2.0))))) - this.acp;
float var4 = b.a.e.a.e.aa(65.0F, 75.0F);
float var5 = this.hNK + b.a.e.a.e.aa(-1.0F, 1.0F);
if (var2 > 180.0F) {
var2 -= 180.0F;
}
float var6 = net.minecraft.z.c.l.z(net.minecraft.z.c.l.bT(var2), -var4, var4);
float var7 = net.minecraft.z.c.l.z(var3, -var5, var5);
float var8 = this.bdw + (var2 > 0.0F ? var6 : -var6);
float var9 = net.minecraft.z.c.l.z(this.acp + var7, -90.0F, 90.0F);
double var10 = Math.pow(hMz.apK.akU * 0.6 + 0.2, 3.0) * 1.2;
if (this.hNL > 0.0F) {
this.bdw = (float)((double)var8 - (double)(var8 - this.bdw) % var10);
this.acp = (float)((double)var9 - (double)(var9 - this.acp) % var10);
}
}
}
}
private boolean bue() {
boolean var1 = this.buf();
if (hMz.aqy.UY()) {
return true;
} else if ((double)this.bud() < 0.9) {
return false;
} else {
float var2 = net.minecraft.z.c.l.I(net.minecraft.z.c.l.fve, net.minecraft.z.c.l.fvc);
if ((Boolean)this.hNE.get()) {
return !hMz.aqy.Qw() && (double)hMz.aqy.crv > 0.01;
} else {
return var1 || !hMz.aqy.Qw() && hMz.aqy.crv >= var2 && hMz.aqy.Zm.asW <= (double)(-var2);
}
}
}
public float buc() {
return (float)(1.0 / hMz.aqy.b(net.minecraft.g.a.a.e.cyL) * 20.0);
}
public float bud() {
return net.minecraft.z.c.l.z(((float)hMz.aqy.cvV + 0.5F) / this.buc(), 0.0F, 1.0F);
}
}