Начинающий
- Статус
- Оффлайн
- Регистрация
- 6 Ноя 2025
- Сообщения
- 116
- Реакции
- 1
я крякнул
Смотрите видео ниже, чтобы узнать, как установить наш сайт в качестве веб-приложения на домашнем экране.
Примечание: Эта возможность может быть недоступна в некоторых браузерах.
Ванëк, вердикт таков - хрень полная. Не спасет даже от пастинга твоих функций, названия классов руками спокойно восстанавливаются, код полностью читаемыйвот моя джарка. написал обфускатор с нуля, потому что я не пидорас на прогуарде сидеть и я не верю, что это можно деобфнуть. джарка 1.21.4 фабрик. у меня есть деобфускатор на этоПожалуйста, авторизуйтесь для просмотра ссылки.
Твоя залупа через джавагент'ов отпадет нахеря сам в ахуе от себя
щас исправимВанëк, вердикт таков - хрень полная. Не спасет даже от пастинга твоих функций, названия классов руками спокойно восстанавливаются, код полностью читаемый
да схуяли...это даже не обфускация

вот моя джарка. написал обфускатор с нуля, потому что я не пидорас на прогуарде сидеть и я не верю, что это можно деобфнуть. джарка 1.21.4 фабрик. у меня есть деобфускатор на этоПожалуйста, авторизуйтесь для просмотра ссылки.
этот ремап даже считать нельзя за обфускацию, тут просто ренеймятся классы.да схуяли...
когда у нас ремап перестал считаться обфускацией в контексте защиты?
вы бы для начала разобрались в терминологии, перед тем как такую хуйню писать
Конкретно тут, с учетом того, что у кента даже сурс файл не почищен как оказалось, это не "обфускация", это просто тест на iqда схуяли...
когда у нас ремап перестал считаться обфускацией в контексте защиты?
вы бы для начала разобрались в терминологии, перед тем как такую хуйню писать
вот это нихуя себе петрович. ты чо по name = "Aura" понял?
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//
package com.nicside.client.features.modules.combat;
import com.nicside.api.event.IIIIl1llIl;
import com.nicside.api.event.Lll1IlIlll;
import com.nicside.api.event.events.client.l1lI1ll1ll;
import com.nicside.api.module.L1II1lIlIl;
import com.nicside.api.module.l1Il1IlllI;
import com.nicside.api.module.lII1l11I11;
import com.nicside.api.module.setting.IIIl1111II;
import com.nicside.api.module.setting.LI111lllIl;
import com.nicside.api.module.setting.LI1l1IlIIl;
import com.nicside.api.module.setting.LIII1lllll;
import com.nicside.api.module.setting.lll1IlIIlI;
import com.nicside.api.utils.math.llll1Il1lI;
import com.nicside.api.utils.other.IlIIlIllI1;
import com.nicside.api.utils.player.lI1IlIl1ll;
import com.nicside.api.utils.rotation.manager.IIII1I1III;
import com.nicside.api.utils.rotation.manager.IIll1l11II;
import com.nicside.api.utils.rotation.manager.l1IIlIlI1I;
import com.nicside.api.utils.task.LII11lI1I1;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.StreamSupport;
import lombok.Generated;
import net.minecraft.class_1268;
import net.minecraft.class_1291;
import net.minecraft.class_1294;
import net.minecraft.class_1799;
import net.minecraft.class_1828;
import net.minecraft.class_1844;
import net.minecraft.class_6880;
import net.minecraft.class_9334;
@l1Il1IlllI(
name = "Auto Buff",
category = lII1l11I11.COMBAT
)
public class IIll1llI1I extends L1II1lIlIl {
private static final IIll1llI1I instance = new IIll1llI1I();
private final lll1IlIIlI potions = (new lll1IlIIlI("\ue049\u0019&= &':")).value(new LI1l1IlIIl[]{(new LI1l1IlIIl("\ue006Urtcharn")).value(true), (new LI1l1IlIIl("\ue00d^}hhi")).value(true), (new LI1l1IlIIl("\ue06c*\u0005\u001e\tL\u001e\t\u001f\u0005\u001f\u0018\r\u0002\u000f\t")).value(false)});
private final LI111lllIl mode = (new LI111lllIl("\ue00eCajk")).value("\ue00eBkigz").values(new String[]{"\ue00eBkigz", "\ue033cRPXVG"});
private final IIIl1111II ticks = (new IIIl1111II("\ue013Gzpx3rugva3`crd}")).value(10.0F).range(0.0F, 200.0F).step(5.0F);
private final LI1l1IlIIl autoDisable = (new LI1l1IlIIl("\ue0732\u0006\u0007\u001cS\u0017\u001a\u0000\u0012\u0011\u001f\u0016")).value(false);
private final LI1l1IlIIl onlyOnGround = (new LI1l1IlIIl("\ue01eQprg>qp>ylqkpz")).value(true);
private final llll1Il1lI throwTimer = new llll1Il1lI();
private final llll1Il1lI rotationTimer = new llll1Il1lI();
private final List<String> toApply = new ArrayList();
private final List<String> toReapply = new ArrayList();
private float originalPitch;
private int originalSlot;
private int potionInvSlot = -1;
private int tempHotbarSlot = -1;
private boolean throwing;
private boolean buffing;
private boolean rotating;
private boolean swapping;
public IIll1llI1I() {
this.addSettings(new LIII1lllll[]{this.potions, this.mode, this.ticks, this.autoDisable, this.onlyOnGround});
}
public void onEvent() {
IIIIl1llIl var1 = l1lI1ll1ll.getInstance().subscribe(new Lll1IlIlll(0, (e) -> {
if (mc.field_1724 != null && mc.field_1687 != null) {
if (!(Boolean)this.onlyOnGround.getValue() || mc.field_1724.method_24828()) {
if (!((float)mc.field_1724.field_6012 < (Float)this.ticks.getValue())) {
if (this.mode.is("\ue033cRPXVG")) {
this.handlePacket();
} else {
this.handleLegit();
}
}
}
}
}));
this.addEvents(new IIIIl1llIl[]{var1});
}
public void onDisable() {
if (this.swapping && this.potionInvSlot != -1 && this.tempHotbarSlot != -1) {
this.swapBack();
}
this.throwing = this.buffing = this.rotating = this.swapping = false;
this.toApply.clear();
this.toReapply.clear();
}
private void handlePacket() {
if (this.shouldBuff() && this.throwTimer.finished(250L)) {
if (this.rotating && this.rotationTimer.finished(5L)) {
this.throwAll();
this.throwTimer.reset();
this.throwing = true;
this.rotating = false;
} else if (this.throwing) {
this.finish(true);
} else {
this.prepareThrow();
}
}
}
private void handleLegit() {
long var1 = 10L;
if (!this.buffing) {
if (this.shouldBuff()) {
this.startBuff();
}
} else {
if (this.throwing && this.throwTimer.finished(var1)) {
this.resetThrow();
} else if (this.rotating && this.rotationTimer.finished(var1 / 2L)) {
this.usePotion();
} else if (this.toApply.isEmpty() && this.toReapply.isEmpty()) {
this.finish(false);
} else {
this.prepareNext();
}
}
}
private void startBuff() {
this.originalPitch = mc.field_1724.method_36455();
this.originalSlot = mc.field_1724.method_31548().field_7545;
this.rotateDown();
this.prepareList();
this.buffing = true;
}
private void rotateDown() {
IIll1l11II.getInstance().addRotation(new IIII1I1III(mc.field_1724.method_36454(), 90.0F), l1IIlIlI1I.TARGET, LII11lI1I1.CRITICAL, this);
}
private void finish(boolean packet) {
if (this.swapping && !packet) {
this.swapBack();
}
if (!packet) {
lI1IlIl1ll.swapToSlot(this.originalSlot);
}
IIll1l11II.getInstance().addRotation(new IIII1I1III(mc.field_1724.method_36454(), this.originalPitch), l1IIlIlI1I.TARGET, LII11lI1I1.HIGH, this);
if (!packet) {
this.buffing = false;
} else {
this.throwing = false;
}
if ((Boolean)this.autoDisable.getValue() && (packet || this.allBuffed())) {
this.toggle();
}
}
private void resetThrow() {
this.throwing = this.rotating = false;
if (this.swapping && this.potionInvSlot != -1 && this.tempHotbarSlot != -1) {
this.swapBack();
}
}
private void swapBack() {
Runnable var1 = () -> lI1IlIl1ll.swapSlots(this.potionInvSlot, this.tempHotbarSlot);
if (IlIIlIllI1.isEnabled()) {
IlIIlIllI1.applySlowness(10L, var1);
} else {
var1.run();
}
this.swapping = false;
this.potionInvSlot = this.tempHotbarSlot = -1;
}
private boolean shouldBuff() {
return this.potions.getList().stream().anyMatch((p) -> {
class_6880 var2 = this.getEffect(p);
return var2 != null && !mc.field_1724.method_6059(var2) && this.hasPotion(var2);
});
}
private boolean allBuffed() {
return this.potions.getList().stream().allMatch((p) -> {
class_6880 var2 = this.getEffect(p);
return var2 == null || mc.field_1724.method_6059(var2) || !this.hasPotion(var2);
});
}
private void prepareList() {
this.toApply.clear();
this.toReapply.clear();
for(String var2 : this.potions.getList()) {
class_6880 var3 = this.getEffect(var2);
if (var3 != null && !mc.field_1724.method_6059(var3) && this.hasPotion(var3)) {
this.toApply.add(var2);
}
}
}
private class_6880<class_1291> getEffect(String p) {
byte var3 = -1;
switch (p.hashCode()) {
case -2129423293:
if (p.equals("\ue06c*\u0005\u001e\tL\u001e\t\u001f\u0005\u001f\u0018\r\u0002\u000f\t")) {
var3 = 2;
}
break;
case 80089127:
if (p.equals("\ue00d^}hhi")) {
var3 = 1;
}
break;
case 1855960161:
if (p.equals("\ue006Urtcharn")) {
var3 = 0;
}
}
class_6880 var10000;
switch (var3) {
case 0 -> var10000 = class_1294.field_5910;
case 1 -> var10000 = class_1294.field_5904;
case 2 -> var10000 = class_1294.field_5918;
default -> var10000 = null;
}
return var10000;
}
private boolean hasPotion(class_6880<class_1291> e) {
return this.findSlot(e, 0, 9) != -1 || this.findSlot(e, 9, 36) != -1;
}
private int findSlot(class_6880<class_1291> e, int from, int to) {
for(int var4 = from; var4 < to; ++var4) {
class_1799 var5 = mc.field_1724.method_31548().method_5438(var4);
if (var5.method_7909() instanceof class_1828) {
class_1844 var6 = (class_1844)var5.method_57825(class_9334.field_49651, class_1844.field_49274);
boolean var7 = StreamSupport.stream(var6.method_57397().spliterator(), false).anyMatch((x) -> x.method_5579().equals(e));
if (var7) {
return var4;
}
}
}
return -1;
}
private void prepareNext() {
String var1 = !this.toApply.isEmpty() ? (String)this.toApply.removeFirst() : (!this.toReapply.isEmpty() ? (String)this.toReapply.removeFirst() : null);
if (var1 != null) {
class_6880 var2 = this.getEffect(var1);
if (var2 != null) {
if (!mc.field_1724.method_6059(var2)) {
int var3 = this.findSlot(var2, 0, 9);
int var4 = this.findSlot(var2, 9, 36);
if (var3 != -1) {
lI1IlIl1ll.swapToSlot(var3);
this.prepareThrow();
} else if (var4 != -1) {
this.swapFromInventory(var4, var2);
}
}
}
}
}
private void swapFromInventory(int inv, class_6880<class_1291> e) {
this.swapping = true;
this.potionInvSlot = inv;
int var3 = lI1IlIl1ll.findEmptySlot();
this.tempHotbarSlot = var3 != -1 && var3 < 9 ? var3 : lI1IlIl1ll.findBestSlotInHotBar();
if (this.tempHotbarSlot != -1) {
Runnable var4 = () -> {
lI1IlIl1ll.swapSlots(this.potionInvSlot, this.tempHotbarSlot);
lI1IlIl1ll.swapToSlot(this.tempHotbarSlot);
this.prepareThrow();
};
if (IlIIlIllI1.isEnabled()) {
IlIIlIllI1.applySlowness(10L, var4);
} else {
var4.run();
}
}
}
private void throwAll() {
int var1 = mc.field_1724.method_31548().field_7545;
for(String var3 : this.potions.getList()) {
class_6880 var4 = this.getEffect(var3);
if (var4 != null && !mc.field_1724.method_6059(var4)) {
int var5 = this.findSlot(var4, 0, 9);
int var6 = this.findSlot(var4, 9, 36);
Runnable var7 = () -> lI1IlIl1ll.useItem(class_1268.field_5808);
if (var5 != -1) {
lI1IlIl1ll.swapToSlot(var5);
var7.run();
} else if (var6 != -1) {
int var8 = lI1IlIl1ll.findBestSlotInHotBar();
Runnable var9 = () -> {
lI1IlIl1ll.swapSlots(var6, var8);
lI1IlIl1ll.swapToSlot(var8);
var7.run();
lI1IlIl1ll.swapSlots(var6, var8);
};
if (IlIIlIllI1.isEnabled()) {
IlIIlIllI1.applySlowness(10L, var9);
} else {
var9.run();
}
}
}
}
lI1IlIl1ll.swapToSlot(var1);
}
private void prepareThrow() {
this.rotateDown();
this.rotationTimer.reset();
this.rotating = true;
}
private void usePotion() {
lI1IlIl1ll.useItem(class_1268.field_5808);
this.throwTimer.reset();
this.throwing = true;
this.rotating = false;
}
@generated
public static IIll1llI1I getInstance() {
return instance;
}
}
вот это будет анрил же востановить если у тебя не 200iq?
package com.nicside.client.features.modules.combat;
import com.nicside.api.event.EventSubscription;
import com.nicside.api.event.EventListener;
import com.nicside.api.event.events.client.TickEvent;
import com.nicside.api.module.Module;
import com.nicside.api.module.ModuleInfo;
import com.nicside.api.module.Category;
import com.nicside.api.module.setting.NumberSetting;
import com.nicside.api.module.setting.ModeSetting;
import com.nicside.api.module.setting.BooleanSetting;
import com.nicside.api.module.setting.Setting;
import com.nicside.api.module.setting.MultiSetting;
import com.nicside.api.utils.math.Timer;
import com.nicside.api.utils.other.AntiDesync;
import com.nicside.api.utils.player.PlayerUtils;
import com.nicside.api.utils.rotation.manager.Rotation;
import com.nicside.api.utils.rotation.manager.RotationManager;
import com.nicside.api.utils.rotation.manager.RotationPriority;
import com.nicside.api.utils.task.TaskPriority;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.StreamSupport;
import lombok.Generated;
import net.minecraft.util.Hand;
import net.minecraft.entity.effect.StatusEffect;
import net.minecraft.entity.effect.StatusEffects;
import net.minecraft.item.ItemStack;
import net.minecraft.item.SplashPotionItem;
import net.minecraft.item.consume.PotionContentsComponent;
import net.minecraft.registry.entry.RegistryEntry;
import net.minecraft.component.DataComponentTypes;
@ModuleInfo(
name = "Auto Buff",
category = Category.COMBAT
)
public class AutoBuff extends Module {
private static final AutoBuff instance = new AutoBuff();
private final MultiSetting potions = (new MultiSetting("Potions")).value(new BooleanSetting[]{(new BooleanSetting("Speed")).value(true), (new BooleanSetting("Strength")).value(true), (new BooleanSetting("Fire Resistance")).value(false)});
private final ModeSetting mode = (new ModeSetting("Mode")).value("Legit").values(new String[]{"Legit", "Packet"});
private final NumberSetting ticks = (new NumberSetting("Min Ticks")).value(10.0F).range(0.0F, 200.0F).step(5.0F);
private final BooleanSetting autoDisable = (new BooleanSetting("Auto Disable")).value(false);
private final BooleanSetting onlyOnGround = (new BooleanSetting("Only On Ground")).value(true);
private final Timer throwTimer = new Timer();
private final Timer rotationTimer = new Timer();
private final List<String> toApply = new ArrayList();
private final List<String> toReapply = new ArrayList();
private float originalPitch;
private int originalSlot;
private int potionInvSlot = -1;
private int tempHotbarSlot = -1;
private boolean throwing;
private boolean buffing;
private boolean rotating;
private boolean swapping;
public AutoBuff() {
this.addSettings(new Setting[]{this.potions, this.mode, this.ticks, this.autoDisable, this.onlyOnGround});
}
public void onEvent() {
EventSubscription var1 = TickEvent.getInstance().subscribe(new EventListener(0, (e) -> {
if (mc.player != null && mc.world != null) {
if (!(Boolean)this.onlyOnGround.getValue() || mc.player.isOnGround()) {
if (!((float)mc.player.hurtTime < (Float)this.ticks.getValue())) {
if (this.mode.equals("Packet")) {
this.handlePacket();
} else {
this.handleLegit();
}
}
}
}
}));
this.addEvents(new EventSubscription[]{var1});
}
public void onDisable() {
if (this.swapping && this.potionInvSlot != -1 && this.tempHotbarSlot != -1) {
this.swapBack();
}
this.throwing = this.buffing = this.rotating = this.swapping = false;
this.toApply.clear();
this.toReapply.clear();
}
private void handlePacket() {
if (this.shouldBuff() && this.throwTimer.finished(250L)) {
if (this.rotating && this.rotationTimer.finished(5L)) {
this.throwAll();
this.throwTimer.reset();
this.throwing = true;
this.rotating = false;
} else if (this.throwing) {
this.finish(true);
} else {
this.prepareThrow();
}
}
}
private void handleLegit() {
long var1 = 10L;
if (!this.buffing) {
if (this.shouldBuff()) {
this.startBuff();
}
} else {
if (this.throwing && this.throwTimer.finished(var1)) {
this.resetThrow();
} else if (this.rotating && this.rotationTimer.finished(var1 / 2L)) {
this.usePotion();
} else if (this.toApply.isEmpty() && this.toReapply.isEmpty()) {
this.finish(false);
} else {
this.prepareNext();
}
}
}
private void startBuff() {
this.originalPitch = mc.player.getPitch();
this.originalSlot = mc.player.getInventory().selectedSlot;
this.rotateDown();
this.prepareList();
this.buffing = true;
}
private void rotateDown() {
RotationManager.getInstance().addRotation(new Rotation(mc.player.getYaw(), 90.0F), RotationPriority.TARGET, TaskPriority.CRITICAL, this);
}
private void finish(boolean packet) {
if (this.swapping && !packet) {
this.swapBack();
}
if (!packet) {
PlayerUtils.swapToSlot(this.originalSlot);
}
RotationManager.getInstance().addRotation(new Rotation(mc.player.getYaw(), this.originalPitch), RotationPriority.TARGET, TaskPriority.HIGH, this);
if (!packet) {
this.buffing = false;
} else {
this.throwing = false;
}
if ((Boolean)this.autoDisable.getValue() && (packet || this.allBuffed())) {
this.toggle();
}
}
private void resetThrow() {
this.throwing = this.rotating = false;
if (this.swapping && this.potionInvSlot != -1 && this.tempHotbarSlot != -1) {
this.swapBack();
}
}
private void swapBack() {
Runnable var1 = () -> PlayerUtils.swapSlots(this.potionInvSlot, this.tempHotbarSlot);
if (AntiDesync.isEnabled()) {
AntiDesync.applySlowness(10L, var1);
} else {
var1.run();
}
this.swapping = false;
this.potionInvSlot = this.tempHotbarSlot = -1;
}
private boolean shouldBuff() {
return this.potions.getEnabledValues().stream().anyMatch((p) -> {
RegistryEntry var2 = this.getEffect(p);
return var2 != null && !mc.player.hasStatusEffect(var2) && this.hasPotion(var2);
});
}
private boolean allBuffed() {
return this.potions.getEnabledValues().stream().allMatch((p) -> {
RegistryEntry var2 = this.getEffect(p);
return var2 == null || mc.player.hasStatusEffect(var2) || !this.hasPotion(var2);
});
}
private void prepareList() {
this.toApply.clear();
this.toReapply.clear();
for (String var2 : this.potions.getEnabledValues()) {
RegistryEntry var3 = this.getEffect(var2);
if (var3 != null && !mc.player.hasStatusEffect(var3) && this.hasPotion(var3)) {
this.toApply.add(var2);
}
}
}
private RegistryEntry<StatusEffect> getEffect(String p) {
byte var3 = -1;
switch (p.hashCode()) {
case -2129423293:
if (p.equals("Fire Resistance")) {
var3 = 2;
}
break;
case 80089127:
if (p.equals("Strength")) {
var3 = 1;
}
break;
case 1855960161:
if (p.equals("Speed")) {
var3 = 0;
}
}
RegistryEntry var10000;
switch (var3) {
case 0 -> var10000 = StatusEffects.SPEED;
case 1 -> var10000 = StatusEffects.STRENGTH;
case 2 -> var10000 = StatusEffects.FIRE_RESISTANCE;
default -> var10000 = null;
}
return var10000;
}
private boolean hasPotion(RegistryEntry<StatusEffect> e) {
return this.findSlot(e, 0, 9) != -1 || this.findSlot(e, 9, 36) != -1;
}
private int findSlot(RegistryEntry<StatusEffect> e, int from, int to) {
for (int var4 = from; var4 < to; ++var4) {
ItemStack var5 = mc.player.getInventory().getStack(var4);
if (var5.getItem() instanceof SplashPotionItem) {
PotionContentsComponent var6 = (PotionContentsComponent)var5.getOrDefault(DataComponentTypes.POTION_CONTENTS, PotionContentsComponent.DEFAULT);
boolean var7 = StreamSupport.stream(var6.getEffects().spliterator(), false).anyMatch((x) -> x.value().equals(e));
if (var7) {
return var4;
}
}
}
return -1;
}
private void prepareNext() {
String var1 = !this.toApply.isEmpty() ? (String)this.toApply.removeFirst() : (!this.toReapply.isEmpty() ? (String)this.toReapply.removeFirst() : null);
if (var1 != null) {
RegistryEntry var2 = this.getEffect(var1);
if (var2 != null) {
if (!mc.player.hasStatusEffect(var2)) {
int var3 = this.findSlot(var2, 0, 9);
int var4 = this.findSlot(var2, 9, 36);
if (var3 != -1) {
PlayerUtils.swapToSlot(var3);
this.prepareThrow();
} else if (var4 != -1) {
this.swapFromInventory(var4, var2);
}
}
}
}
}
private void swapFromInventory(int inv, RegistryEntry<StatusEffect> e) {
this.swapping = true;
this.potionInvSlot = inv;
int var3 = PlayerUtils.findEmptySlot();
this.tempHotbarSlot = var3 != -1 && var3 < 9 ? var3 : PlayerUtils.findBestSlotInHotBar();
if (this.tempHotbarSlot != -1) {
Runnable var4 = () -> {
PlayerUtils.swapSlots(this.potionInvSlot, this.tempHotbarSlot);
PlayerUtils.swapToSlot(this.tempHotbarSlot);
this.prepareThrow();
};
if (AntiDesync.isEnabled()) {
AntiDesync.applySlowness(10L, var4);
} else {
var4.run();
}
}
}
private void throwAll() {
int var1 = mc.player.getInventory().selectedSlot;
for (String var3 : this.potions.getEnabledValues()) {
RegistryEntry var4 = this.getEffect(var3);
if (var4 != null && !mc.player.hasStatusEffect(var4)) {
int var5 = this.findSlot(var4, 0, 9);
int var6 = this.findSlot(var4, 9, 36);
Runnable var7 = () -> PlayerUtils.useItem(Hand.MAIN_HAND);
if (var5 != -1) {
PlayerUtils.swapToSlot(var5);
var7.run();
} else if (var6 != -1) {
int var8 = PlayerUtils.findBestSlotInHotBar();
Runnable var9 = () -> {
PlayerUtils.swapSlots(var6, var8);
PlayerUtils.swapToSlot(var8);
var7.run();
PlayerUtils.swapSlots(var6, var8);
};
if (AntiDesync.isEnabled()) {
AntiDesync.applySlowness(10L, var9);
} else {
var9.run();
}
}
}
}
PlayerUtils.swapToSlot(var1);
}
private void prepareThrow() {
this.rotateDown();
this.rotationTimer.reset();
this.rotating = true;
}
private void usePotion() {
PlayerUtils.useItem(Hand.MAIN_HAND);
this.throwTimer.reset();
this.throwing = true;
this.rotating = false;
}
@Generated
public static AutoBuff getInstance() {
return instance;
}
}
та сука какКод:package com.nicside.client.features.modules.combat; import com.nicside.api.event.EventSubscription; import com.nicside.api.event.EventListener; import com.nicside.api.event.events.client.TickEvent; import com.nicside.api.module.Module; import com.nicside.api.module.ModuleInfo; import com.nicside.api.module.Category; import com.nicside.api.module.setting.NumberSetting; import com.nicside.api.module.setting.ModeSetting; import com.nicside.api.module.setting.BooleanSetting; import com.nicside.api.module.setting.Setting; import com.nicside.api.module.setting.MultiSetting; import com.nicside.api.utils.math.Timer; import com.nicside.api.utils.other.AntiDesync; import com.nicside.api.utils.player.PlayerUtils; import com.nicside.api.utils.rotation.manager.Rotation; import com.nicside.api.utils.rotation.manager.RotationManager; import com.nicside.api.utils.rotation.manager.RotationPriority; import com.nicside.api.utils.task.TaskPriority; import java.util.ArrayList; import java.util.List; import java.util.stream.StreamSupport; import lombok.Generated; import net.minecraft.util.Hand; import net.minecraft.entity.effect.StatusEffect; import net.minecraft.entity.effect.StatusEffects; import net.minecraft.item.ItemStack; import net.minecraft.item.SplashPotionItem; import net.minecraft.item.consume.PotionContentsComponent; import net.minecraft.registry.entry.RegistryEntry; import net.minecraft.component.DataComponentTypes; @ModuleInfo( name = "Auto Buff", category = Category.COMBAT ) public class AutoBuff extends Module { private static final AutoBuff instance = new AutoBuff(); private final MultiSetting potions = (new MultiSetting("Potions")).value(new BooleanSetting[]{(new BooleanSetting("Speed")).value(true), (new BooleanSetting("Strength")).value(true), (new BooleanSetting("Fire Resistance")).value(false)}); private final ModeSetting mode = (new ModeSetting("Mode")).value("Legit").values(new String[]{"Legit", "Packet"}); private final NumberSetting ticks = (new NumberSetting("Min Ticks")).value(10.0F).range(0.0F, 200.0F).step(5.0F); private final BooleanSetting autoDisable = (new BooleanSetting("Auto Disable")).value(false); private final BooleanSetting onlyOnGround = (new BooleanSetting("Only On Ground")).value(true); private final Timer throwTimer = new Timer(); private final Timer rotationTimer = new Timer(); private final List<String> toApply = new ArrayList(); private final List<String> toReapply = new ArrayList(); private float originalPitch; private int originalSlot; private int potionInvSlot = -1; private int tempHotbarSlot = -1; private boolean throwing; private boolean buffing; private boolean rotating; private boolean swapping; public AutoBuff() { this.addSettings(new Setting[]{this.potions, this.mode, this.ticks, this.autoDisable, this.onlyOnGround}); } public void onEvent() { EventSubscription var1 = TickEvent.getInstance().subscribe(new EventListener(0, (e) -> { if (mc.player != null && mc.world != null) { if (!(Boolean)this.onlyOnGround.getValue() || mc.player.isOnGround()) { if (!((float)mc.player.hurtTime < (Float)this.ticks.getValue())) { if (this.mode.equals("Packet")) { this.handlePacket(); } else { this.handleLegit(); } } } } })); this.addEvents(new EventSubscription[]{var1}); } public void onDisable() { if (this.swapping && this.potionInvSlot != -1 && this.tempHotbarSlot != -1) { this.swapBack(); } this.throwing = this.buffing = this.rotating = this.swapping = false; this.toApply.clear(); this.toReapply.clear(); } private void handlePacket() { if (this.shouldBuff() && this.throwTimer.finished(250L)) { if (this.rotating && this.rotationTimer.finished(5L)) { this.throwAll(); this.throwTimer.reset(); this.throwing = true; this.rotating = false; } else if (this.throwing) { this.finish(true); } else { this.prepareThrow(); } } } private void handleLegit() { long var1 = 10L; if (!this.buffing) { if (this.shouldBuff()) { this.startBuff(); } } else { if (this.throwing && this.throwTimer.finished(var1)) { this.resetThrow(); } else if (this.rotating && this.rotationTimer.finished(var1 / 2L)) { this.usePotion(); } else if (this.toApply.isEmpty() && this.toReapply.isEmpty()) { this.finish(false); } else { this.prepareNext(); } } } private void startBuff() { this.originalPitch = mc.player.getPitch(); this.originalSlot = mc.player.getInventory().selectedSlot; this.rotateDown(); this.prepareList(); this.buffing = true; } private void rotateDown() { RotationManager.getInstance().addRotation(new Rotation(mc.player.getYaw(), 90.0F), RotationPriority.TARGET, TaskPriority.CRITICAL, this); } private void finish(boolean packet) { if (this.swapping && !packet) { this.swapBack(); } if (!packet) { PlayerUtils.swapToSlot(this.originalSlot); } RotationManager.getInstance().addRotation(new Rotation(mc.player.getYaw(), this.originalPitch), RotationPriority.TARGET, TaskPriority.HIGH, this); if (!packet) { this.buffing = false; } else { this.throwing = false; } if ((Boolean)this.autoDisable.getValue() && (packet || this.allBuffed())) { this.toggle(); } } private void resetThrow() { this.throwing = this.rotating = false; if (this.swapping && this.potionInvSlot != -1 && this.tempHotbarSlot != -1) { this.swapBack(); } } private void swapBack() { Runnable var1 = () -> PlayerUtils.swapSlots(this.potionInvSlot, this.tempHotbarSlot); if (AntiDesync.isEnabled()) { AntiDesync.applySlowness(10L, var1); } else { var1.run(); } this.swapping = false; this.potionInvSlot = this.tempHotbarSlot = -1; } private boolean shouldBuff() { return this.potions.getEnabledValues().stream().anyMatch((p) -> { RegistryEntry var2 = this.getEffect(p); return var2 != null && !mc.player.hasStatusEffect(var2) && this.hasPotion(var2); }); } private boolean allBuffed() { return this.potions.getEnabledValues().stream().allMatch((p) -> { RegistryEntry var2 = this.getEffect(p); return var2 == null || mc.player.hasStatusEffect(var2) || !this.hasPotion(var2); }); } private void prepareList() { this.toApply.clear(); this.toReapply.clear(); for (String var2 : this.potions.getEnabledValues()) { RegistryEntry var3 = this.getEffect(var2); if (var3 != null && !mc.player.hasStatusEffect(var3) && this.hasPotion(var3)) { this.toApply.add(var2); } } } private RegistryEntry<StatusEffect> getEffect(String p) { byte var3 = -1; switch (p.hashCode()) { case -2129423293: if (p.equals("Fire Resistance")) { var3 = 2; } break; case 80089127: if (p.equals("Strength")) { var3 = 1; } break; case 1855960161: if (p.equals("Speed")) { var3 = 0; } } RegistryEntry var10000; switch (var3) { case 0 -> var10000 = StatusEffects.SPEED; case 1 -> var10000 = StatusEffects.STRENGTH; case 2 -> var10000 = StatusEffects.FIRE_RESISTANCE; default -> var10000 = null; } return var10000; } private boolean hasPotion(RegistryEntry<StatusEffect> e) { return this.findSlot(e, 0, 9) != -1 || this.findSlot(e, 9, 36) != -1; } private int findSlot(RegistryEntry<StatusEffect> e, int from, int to) { for (int var4 = from; var4 < to; ++var4) { ItemStack var5 = mc.player.getInventory().getStack(var4); if (var5.getItem() instanceof SplashPotionItem) { PotionContentsComponent var6 = (PotionContentsComponent)var5.getOrDefault(DataComponentTypes.POTION_CONTENTS, PotionContentsComponent.DEFAULT); boolean var7 = StreamSupport.stream(var6.getEffects().spliterator(), false).anyMatch((x) -> x.value().equals(e)); if (var7) { return var4; } } } return -1; } private void prepareNext() { String var1 = !this.toApply.isEmpty() ? (String)this.toApply.removeFirst() : (!this.toReapply.isEmpty() ? (String)this.toReapply.removeFirst() : null); if (var1 != null) { RegistryEntry var2 = this.getEffect(var1); if (var2 != null) { if (!mc.player.hasStatusEffect(var2)) { int var3 = this.findSlot(var2, 0, 9); int var4 = this.findSlot(var2, 9, 36); if (var3 != -1) { PlayerUtils.swapToSlot(var3); this.prepareThrow(); } else if (var4 != -1) { this.swapFromInventory(var4, var2); } } } } } private void swapFromInventory(int inv, RegistryEntry<StatusEffect> e) { this.swapping = true; this.potionInvSlot = inv; int var3 = PlayerUtils.findEmptySlot(); this.tempHotbarSlot = var3 != -1 && var3 < 9 ? var3 : PlayerUtils.findBestSlotInHotBar(); if (this.tempHotbarSlot != -1) { Runnable var4 = () -> { PlayerUtils.swapSlots(this.potionInvSlot, this.tempHotbarSlot); PlayerUtils.swapToSlot(this.tempHotbarSlot); this.prepareThrow(); }; if (AntiDesync.isEnabled()) { AntiDesync.applySlowness(10L, var4); } else { var4.run(); } } } private void throwAll() { int var1 = mc.player.getInventory().selectedSlot; for (String var3 : this.potions.getEnabledValues()) { RegistryEntry var4 = this.getEffect(var3); if (var4 != null && !mc.player.hasStatusEffect(var4)) { int var5 = this.findSlot(var4, 0, 9); int var6 = this.findSlot(var4, 9, 36); Runnable var7 = () -> PlayerUtils.useItem(Hand.MAIN_HAND); if (var5 != -1) { PlayerUtils.swapToSlot(var5); var7.run(); } else if (var6 != -1) { int var8 = PlayerUtils.findBestSlotInHotBar(); Runnable var9 = () -> { PlayerUtils.swapSlots(var6, var8); PlayerUtils.swapToSlot(var8); var7.run(); PlayerUtils.swapSlots(var6, var8); }; if (AntiDesync.isEnabled()) { AntiDesync.applySlowness(10L, var9); } else { var9.run(); } } } } PlayerUtils.swapToSlot(var1); } private void prepareThrow() { this.rotateDown(); this.rotationTimer.reset(); this.rotating = true; } private void usePotion() { PlayerUtils.useItem(Hand.MAIN_HAND); this.throwTimer.reset(); this.throwing = true; this.rotating = false; } @Generated public static AutoBuff getInstance() { return instance; } }
в мут//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//
package com.nicside.client.features.modules.combat;
import com.nicside.api.event.IIIIl1llIl;
import com.nicside.api.event.Lll1IlIlll;
import com.nicside.api.event.events.client.l1lI1ll1ll;
import com.nicside.api.module.L1II1lIlIl;
import com.nicside.api.module.l1Il1IlllI;
import com.nicside.api.module.lII1l11I11;
import com.nicside.api.module.setting.IIIl1111II;
import com.nicside.api.module.setting.LI111lllIl;
import com.nicside.api.module.setting.LI1l1IlIIl;
import com.nicside.api.module.setting.LIII1lllll;
import com.nicside.api.module.setting.lll1IlIIlI;
import com.nicside.api.utils.math.llll1Il1lI;
import com.nicside.api.utils.other.IlIIlIllI1;
import com.nicside.api.utils.player.lI1IlIl1ll;
import com.nicside.api.utils.rotation.manager.IIII1I1III;
import com.nicside.api.utils.rotation.manager.IIll1l11II;
import com.nicside.api.utils.rotation.manager.l1IIlIlI1I;
import com.nicside.api.utils.task.LII11lI1I1;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.StreamSupport;
import lombok.Generated;
import net.minecraft.class_1268;
import net.minecraft.class_1291;
import net.minecraft.class_1294;
import net.minecraft.class_1799;
import net.minecraft.class_1828;
import net.minecraft.class_1844;
import net.minecraft.class_6880;
import net.minecraft.class_9334;
@l1Il1IlllI(
name = "Auto Buff",
category = lII1l11I11.COMBAT
)
public class IIll1llI1I extends L1II1lIlIl {
private static final IIll1llI1I instance = new IIll1llI1I();
private final lll1IlIIlI potions = (new lll1IlIIlI("\ue049\u0019&= &':")).value(new LI1l1IlIIl[]{(new LI1l1IlIIl("\ue006Urtcharn")).value(true), (new LI1l1IlIIl("\ue00d^}hhi")).value(true), (new LI1l1IlIIl("\ue06c*\u0005\u001e\tL\u001e\t\u001f\u0005\u001f\u0018\r\u0002\u000f\t")).value(false)});
private final LI111lllIl mode = (new LI111lllIl("\ue00eCajk")).value("\ue00eBkigz").values(new String[]{"\ue00eBkigz", "\ue033cRPXVG"});
private final IIIl1111II ticks = (new IIIl1111II("\ue013Gzpx3rugva3`crd}")).value(10.0F).range(0.0F, 200.0F).step(5.0F);
private final LI1l1IlIIl autoDisable = (new LI1l1IlIIl("\ue0732\u0006\u0007\u001cS\u0017\u001a\u0000\u0012\u0011\u001f\u0016")).value(false);
private final LI1l1IlIIl onlyOnGround = (new LI1l1IlIIl("\ue01eQprg>qp>ylqkpz")).value(true);
private final llll1Il1lI throwTimer = new llll1Il1lI();
private final llll1Il1lI rotationTimer = new llll1Il1lI();
private final List<String> toApply = new ArrayList();
private final List<String> toReapply = new ArrayList();
private float originalPitch;
private int originalSlot;
private int potionInvSlot = -1;
private int tempHotbarSlot = -1;
private boolean throwing;
private boolean buffing;
private boolean rotating;
private boolean swapping;
public IIll1llI1I() {
this.addSettings(new LIII1lllll[]{this.potions, this.mode, this.ticks, this.autoDisable, this.onlyOnGround});
}
public void onEvent() {
IIIIl1llIl var1 = l1lI1ll1ll.getInstance().subscribe(new Lll1IlIlll(0, (e) -> {
if (mc.field_1724 != null && mc.field_1687 != null) {
if (!(Boolean)this.onlyOnGround.getValue() || mc.field_1724.method_24828()) {
if (!((float)mc.field_1724.field_6012 < (Float)this.ticks.getValue())) {
if (this.mode.is("\ue033cRPXVG")) {
this.handlePacket();
} else {
this.handleLegit();
}
}
}
}
}));
this.addEvents(new IIIIl1llIl[]{var1});
}
public void onDisable() {
if (this.swapping && this.potionInvSlot != -1 && this.tempHotbarSlot != -1) {
this.swapBack();
}
this.throwing = this.buffing = this.rotating = this.swapping = false;
this.toApply.clear();
this.toReapply.clear();
}
private void handlePacket() {
if (this.shouldBuff() && this.throwTimer.finished(250L)) {
if (this.rotating && this.rotationTimer.finished(5L)) {
this.throwAll();
this.throwTimer.reset();
this.throwing = true;
this.rotating = false;
} else if (this.throwing) {
this.finish(true);
} else {
this.prepareThrow();
}
}
}
private void handleLegit() {
long var1 = 10L;
if (!this.buffing) {
if (this.shouldBuff()) {
this.startBuff();
}
} else {
if (this.throwing && this.throwTimer.finished(var1)) {
this.resetThrow();
} else if (this.rotating && this.rotationTimer.finished(var1 / 2L)) {
this.usePotion();
} else if (this.toApply.isEmpty() && this.toReapply.isEmpty()) {
this.finish(false);
} else {
this.prepareNext();
}
}
}
private void startBuff() {
this.originalPitch = mc.field_1724.method_36455();
this.originalSlot = mc.field_1724.method_31548().field_7545;
this.rotateDown();
this.prepareList();
this.buffing = true;
}
private void rotateDown() {
IIll1l11II.getInstance().addRotation(new IIII1I1III(mc.field_1724.method_36454(), 90.0F), l1IIlIlI1I.TARGET, LII11lI1I1.CRITICAL, this);
}
private void finish(boolean packet) {
if (this.swapping && !packet) {
this.swapBack();
}
if (!packet) {
lI1IlIl1ll.swapToSlot(this.originalSlot);
}
IIll1l11II.getInstance().addRotation(new IIII1I1III(mc.field_1724.method_36454(), this.originalPitch), l1IIlIlI1I.TARGET, LII11lI1I1.HIGH, this);
if (!packet) {
this.buffing = false;
} else {
this.throwing = false;
}
if ((Boolean)this.autoDisable.getValue() && (packet || this.allBuffed())) {
this.toggle();
}
}
private void resetThrow() {
this.throwing = this.rotating = false;
if (this.swapping && this.potionInvSlot != -1 && this.tempHotbarSlot != -1) {
this.swapBack();
}
}
private void swapBack() {
Runnable var1 = () -> lI1IlIl1ll.swapSlots(this.potionInvSlot, this.tempHotbarSlot);
if (IlIIlIllI1.isEnabled()) {
IlIIlIllI1.applySlowness(10L, var1);
} else {
var1.run();
}
this.swapping = false;
this.potionInvSlot = this.tempHotbarSlot = -1;
}
private boolean shouldBuff() {
return this.potions.getList().stream().anyMatch((p) -> {
class_6880 var2 = this.getEffect(p);
return var2 != null && !mc.field_1724.method_6059(var2) && this.hasPotion(var2);
});
}
private boolean allBuffed() {
return this.potions.getList().stream().allMatch((p) -> {
class_6880 var2 = this.getEffect(p);
return var2 == null || mc.field_1724.method_6059(var2) || !this.hasPotion(var2);
});
}
private void prepareList() {
this.toApply.clear();
this.toReapply.clear();
for(String var2 : this.potions.getList()) {
class_6880 var3 = this.getEffect(var2);
if (var3 != null && !mc.field_1724.method_6059(var3) && this.hasPotion(var3)) {
this.toApply.add(var2);
}
}
}
private class_6880<class_1291> getEffect(String p) {
byte var3 = -1;
switch (p.hashCode()) {
case -2129423293:
if (p.equals("\ue06c*\u0005\u001e\tL\u001e\t\u001f\u0005\u001f\u0018\r\u0002\u000f\t")) {
var3 = 2;
}
break;
case 80089127:
if (p.equals("\ue00d^}hhi")) {
var3 = 1;
}
break;
case 1855960161:
if (p.equals("\ue006Urtcharn")) {
var3 = 0;
}
}
class_6880 var10000;
switch (var3) {
case 0 -> var10000 = class_1294.field_5910;
case 1 -> var10000 = class_1294.field_5904;
case 2 -> var10000 = class_1294.field_5918;
default -> var10000 = null;
}
return var10000;
}
private boolean hasPotion(class_6880<class_1291> e) {
return this.findSlot(e, 0, 9) != -1 || this.findSlot(e, 9, 36) != -1;
}
private int findSlot(class_6880<class_1291> e, int from, int to) {
for(int var4 = from; var4 < to; ++var4) {
class_1799 var5 = mc.field_1724.method_31548().method_5438(var4);
if (var5.method_7909() instanceof class_1828) {
class_1844 var6 = (class_1844)var5.method_57825(class_9334.field_49651, class_1844.field_49274);
boolean var7 = StreamSupport.stream(var6.method_57397().spliterator(), false).anyMatch((x) -> x.method_5579().equals(e));
if (var7) {
return var4;
}
}
}
return -1;
}
private void prepareNext() {
String var1 = !this.toApply.isEmpty() ? (String)this.toApply.removeFirst() : (!this.toReapply.isEmpty() ? (String)this.toReapply.removeFirst() : null);
if (var1 != null) {
class_6880 var2 = this.getEffect(var1);
if (var2 != null) {
if (!mc.field_1724.method_6059(var2)) {
int var3 = this.findSlot(var2, 0, 9);
int var4 = this.findSlot(var2, 9, 36);
if (var3 != -1) {
lI1IlIl1ll.swapToSlot(var3);
this.prepareThrow();
} else if (var4 != -1) {
this.swapFromInventory(var4, var2);
}
}
}
}
}
private void swapFromInventory(int inv, class_6880<class_1291> e) {
this.swapping = true;
this.potionInvSlot = inv;
int var3 = lI1IlIl1ll.findEmptySlot();
this.tempHotbarSlot = var3 != -1 && var3 < 9 ? var3 : lI1IlIl1ll.findBestSlotInHotBar();
if (this.tempHotbarSlot != -1) {
Runnable var4 = () -> {
lI1IlIl1ll.swapSlots(this.potionInvSlot, this.tempHotbarSlot);
lI1IlIl1ll.swapToSlot(this.tempHotbarSlot);
this.prepareThrow();
};
if (IlIIlIllI1.isEnabled()) {
IlIIlIllI1.applySlowness(10L, var4);
} else {
var4.run();
}
}
}
private void throwAll() {
int var1 = mc.field_1724.method_31548().field_7545;
for(String var3 : this.potions.getList()) {
class_6880 var4 = this.getEffect(var3);
if (var4 != null && !mc.field_1724.method_6059(var4)) {
int var5 = this.findSlot(var4, 0, 9);
int var6 = this.findSlot(var4, 9, 36);
Runnable var7 = () -> lI1IlIl1ll.useItem(class_1268.field_5808);
if (var5 != -1) {
lI1IlIl1ll.swapToSlot(var5);
var7.run();
} else if (var6 != -1) {
int var8 = lI1IlIl1ll.findBestSlotInHotBar();
Runnable var9 = () -> {
lI1IlIl1ll.swapSlots(var6, var8);
lI1IlIl1ll.swapToSlot(var8);
var7.run();
lI1IlIl1ll.swapSlots(var6, var8);
};
if (IlIIlIllI1.isEnabled()) {
IlIIlIllI1.applySlowness(10L, var9);
} else {
var9.run();
}
}
}
}
lI1IlIl1ll.swapToSlot(var1);
}
private void prepareThrow() {
this.rotateDown();
this.rotationTimer.reset();
this.rotating = true;
}
private void usePotion() {
lI1IlIl1ll.useItem(class_1268.field_5808);
this.throwTimer.reset();
this.throwing = true;
this.rotating = false;
}
@generated
public static IIll1llI1I getInstance() {
return instance;
}
}
вот это будет анрил же востановить если у тебя не 200iq?
спасибо, но иди нахуйв мут
КАК??? ЭТО НЕ ВОЗМОЖНОя крякнул
ну возможно похожеКАК??? ЭТО НЕ ВОЗМОЖНО
Да ты че, базару нетну возможно похоже
это даже нет смысла восстанавливать, тут весь код читаемый а вары и ренеймнутые методы спокойно заренеймит обратно любая нейронка либо можно вручную//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//
package com.nicside.client.features.modules.combat;
import com.nicside.api.event.IIIIl1llIl;
import com.nicside.api.event.Lll1IlIlll;
import com.nicside.api.event.events.client.l1lI1ll1ll;
import com.nicside.api.module.L1II1lIlIl;
import com.nicside.api.module.l1Il1IlllI;
import com.nicside.api.module.lII1l11I11;
import com.nicside.api.module.setting.IIIl1111II;
import com.nicside.api.module.setting.LI111lllIl;
import com.nicside.api.module.setting.LI1l1IlIIl;
import com.nicside.api.module.setting.LIII1lllll;
import com.nicside.api.module.setting.lll1IlIIlI;
import com.nicside.api.utils.math.llll1Il1lI;
import com.nicside.api.utils.other.IlIIlIllI1;
import com.nicside.api.utils.player.lI1IlIl1ll;
import com.nicside.api.utils.rotation.manager.IIII1I1III;
import com.nicside.api.utils.rotation.manager.IIll1l11II;
import com.nicside.api.utils.rotation.manager.l1IIlIlI1I;
import com.nicside.api.utils.task.LII11lI1I1;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.StreamSupport;
import lombok.Generated;
import net.minecraft.class_1268;
import net.minecraft.class_1291;
import net.minecraft.class_1294;
import net.minecraft.class_1799;
import net.minecraft.class_1828;
import net.minecraft.class_1844;
import net.minecraft.class_6880;
import net.minecraft.class_9334;
@l1Il1IlllI(
name = "Auto Buff",
category = lII1l11I11.COMBAT
)
public class IIll1llI1I extends L1II1lIlIl {
private static final IIll1llI1I instance = new IIll1llI1I();
private final lll1IlIIlI potions = (new lll1IlIIlI("\ue049\u0019&= &':")).value(new LI1l1IlIIl[]{(new LI1l1IlIIl("\ue006Urtcharn")).value(true), (new LI1l1IlIIl("\ue00d^}hhi")).value(true), (new LI1l1IlIIl("\ue06c*\u0005\u001e\tL\u001e\t\u001f\u0005\u001f\u0018\r\u0002\u000f\t")).value(false)});
private final LI111lllIl mode = (new LI111lllIl("\ue00eCajk")).value("\ue00eBkigz").values(new String[]{"\ue00eBkigz", "\ue033cRPXVG"});
private final IIIl1111II ticks = (new IIIl1111II("\ue013Gzpx3rugva3`crd}")).value(10.0F).range(0.0F, 200.0F).step(5.0F);
private final LI1l1IlIIl autoDisable = (new LI1l1IlIIl("\ue0732\u0006\u0007\u001cS\u0017\u001a\u0000\u0012\u0011\u001f\u0016")).value(false);
private final LI1l1IlIIl onlyOnGround = (new LI1l1IlIIl("\ue01eQprg>qp>ylqkpz")).value(true);
private final llll1Il1lI throwTimer = new llll1Il1lI();
private final llll1Il1lI rotationTimer = new llll1Il1lI();
private final List<String> toApply = new ArrayList();
private final List<String> toReapply = new ArrayList();
private float originalPitch;
private int originalSlot;
private int potionInvSlot = -1;
private int tempHotbarSlot = -1;
private boolean throwing;
private boolean buffing;
private boolean rotating;
private boolean swapping;
public IIll1llI1I() {
this.addSettings(new LIII1lllll[]{this.potions, this.mode, this.ticks, this.autoDisable, this.onlyOnGround});
}
public void onEvent() {
IIIIl1llIl var1 = l1lI1ll1ll.getInstance().subscribe(new Lll1IlIlll(0, (e) -> {
if (mc.field_1724 != null && mc.field_1687 != null) {
if (!(Boolean)this.onlyOnGround.getValue() || mc.field_1724.method_24828()) {
if (!((float)mc.field_1724.field_6012 < (Float)this.ticks.getValue())) {
if (this.mode.is("\ue033cRPXVG")) {
this.handlePacket();
} else {
this.handleLegit();
}
}
}
}
}));
this.addEvents(new IIIIl1llIl[]{var1});
}
public void onDisable() {
if (this.swapping && this.potionInvSlot != -1 && this.tempHotbarSlot != -1) {
this.swapBack();
}
this.throwing = this.buffing = this.rotating = this.swapping = false;
this.toApply.clear();
this.toReapply.clear();
}
private void handlePacket() {
if (this.shouldBuff() && this.throwTimer.finished(250L)) {
if (this.rotating && this.rotationTimer.finished(5L)) {
this.throwAll();
this.throwTimer.reset();
this.throwing = true;
this.rotating = false;
} else if (this.throwing) {
this.finish(true);
} else {
this.prepareThrow();
}
}
}
private void handleLegit() {
long var1 = 10L;
if (!this.buffing) {
if (this.shouldBuff()) {
this.startBuff();
}
} else {
if (this.throwing && this.throwTimer.finished(var1)) {
this.resetThrow();
} else if (this.rotating && this.rotationTimer.finished(var1 / 2L)) {
this.usePotion();
} else if (this.toApply.isEmpty() && this.toReapply.isEmpty()) {
this.finish(false);
} else {
this.prepareNext();
}
}
}
private void startBuff() {
this.originalPitch = mc.field_1724.method_36455();
this.originalSlot = mc.field_1724.method_31548().field_7545;
this.rotateDown();
this.prepareList();
this.buffing = true;
}
private void rotateDown() {
IIll1l11II.getInstance().addRotation(new IIII1I1III(mc.field_1724.method_36454(), 90.0F), l1IIlIlI1I.TARGET, LII11lI1I1.CRITICAL, this);
}
private void finish(boolean packet) {
if (this.swapping && !packet) {
this.swapBack();
}
if (!packet) {
lI1IlIl1ll.swapToSlot(this.originalSlot);
}
IIll1l11II.getInstance().addRotation(new IIII1I1III(mc.field_1724.method_36454(), this.originalPitch), l1IIlIlI1I.TARGET, LII11lI1I1.HIGH, this);
if (!packet) {
this.buffing = false;
} else {
this.throwing = false;
}
if ((Boolean)this.autoDisable.getValue() && (packet || this.allBuffed())) {
this.toggle();
}
}
private void resetThrow() {
this.throwing = this.rotating = false;
if (this.swapping && this.potionInvSlot != -1 && this.tempHotbarSlot != -1) {
this.swapBack();
}
}
private void swapBack() {
Runnable var1 = () -> lI1IlIl1ll.swapSlots(this.potionInvSlot, this.tempHotbarSlot);
if (IlIIlIllI1.isEnabled()) {
IlIIlIllI1.applySlowness(10L, var1);
} else {
var1.run();
}
this.swapping = false;
this.potionInvSlot = this.tempHotbarSlot = -1;
}
private boolean shouldBuff() {
return this.potions.getList().stream().anyMatch((p) -> {
class_6880 var2 = this.getEffect(p);
return var2 != null && !mc.field_1724.method_6059(var2) && this.hasPotion(var2);
});
}
private boolean allBuffed() {
return this.potions.getList().stream().allMatch((p) -> {
class_6880 var2 = this.getEffect(p);
return var2 == null || mc.field_1724.method_6059(var2) || !this.hasPotion(var2);
});
}
private void prepareList() {
this.toApply.clear();
this.toReapply.clear();
for(String var2 : this.potions.getList()) {
class_6880 var3 = this.getEffect(var2);
if (var3 != null && !mc.field_1724.method_6059(var3) && this.hasPotion(var3)) {
this.toApply.add(var2);
}
}
}
private class_6880<class_1291> getEffect(String p) {
byte var3 = -1;
switch (p.hashCode()) {
case -2129423293:
if (p.equals("\ue06c*\u0005\u001e\tL\u001e\t\u001f\u0005\u001f\u0018\r\u0002\u000f\t")) {
var3 = 2;
}
break;
case 80089127:
if (p.equals("\ue00d^}hhi")) {
var3 = 1;
}
break;
case 1855960161:
if (p.equals("\ue006Urtcharn")) {
var3 = 0;
}
}
class_6880 var10000;
switch (var3) {
case 0 -> var10000 = class_1294.field_5910;
case 1 -> var10000 = class_1294.field_5904;
case 2 -> var10000 = class_1294.field_5918;
default -> var10000 = null;
}
return var10000;
}
private boolean hasPotion(class_6880<class_1291> e) {
return this.findSlot(e, 0, 9) != -1 || this.findSlot(e, 9, 36) != -1;
}
private int findSlot(class_6880<class_1291> e, int from, int to) {
for(int var4 = from; var4 < to; ++var4) {
class_1799 var5 = mc.field_1724.method_31548().method_5438(var4);
if (var5.method_7909() instanceof class_1828) {
class_1844 var6 = (class_1844)var5.method_57825(class_9334.field_49651, class_1844.field_49274);
boolean var7 = StreamSupport.stream(var6.method_57397().spliterator(), false).anyMatch((x) -> x.method_5579().equals(e));
if (var7) {
return var4;
}
}
}
return -1;
}
private void prepareNext() {
String var1 = !this.toApply.isEmpty() ? (String)this.toApply.removeFirst() : (!this.toReapply.isEmpty() ? (String)this.toReapply.removeFirst() : null);
if (var1 != null) {
class_6880 var2 = this.getEffect(var1);
if (var2 != null) {
if (!mc.field_1724.method_6059(var2)) {
int var3 = this.findSlot(var2, 0, 9);
int var4 = this.findSlot(var2, 9, 36);
if (var3 != -1) {
lI1IlIl1ll.swapToSlot(var3);
this.prepareThrow();
} else if (var4 != -1) {
this.swapFromInventory(var4, var2);
}
}
}
}
}
private void swapFromInventory(int inv, class_6880<class_1291> e) {
this.swapping = true;
this.potionInvSlot = inv;
int var3 = lI1IlIl1ll.findEmptySlot();
this.tempHotbarSlot = var3 != -1 && var3 < 9 ? var3 : lI1IlIl1ll.findBestSlotInHotBar();
if (this.tempHotbarSlot != -1) {
Runnable var4 = () -> {
lI1IlIl1ll.swapSlots(this.potionInvSlot, this.tempHotbarSlot);
lI1IlIl1ll.swapToSlot(this.tempHotbarSlot);
this.prepareThrow();
};
if (IlIIlIllI1.isEnabled()) {
IlIIlIllI1.applySlowness(10L, var4);
} else {
var4.run();
}
}
}
private void throwAll() {
int var1 = mc.field_1724.method_31548().field_7545;
for(String var3 : this.potions.getList()) {
class_6880 var4 = this.getEffect(var3);
if (var4 != null && !mc.field_1724.method_6059(var4)) {
int var5 = this.findSlot(var4, 0, 9);
int var6 = this.findSlot(var4, 9, 36);
Runnable var7 = () -> lI1IlIl1ll.useItem(class_1268.field_5808);
if (var5 != -1) {
lI1IlIl1ll.swapToSlot(var5);
var7.run();
} else if (var6 != -1) {
int var8 = lI1IlIl1ll.findBestSlotInHotBar();
Runnable var9 = () -> {
lI1IlIl1ll.swapSlots(var6, var8);
lI1IlIl1ll.swapToSlot(var8);
var7.run();
lI1IlIl1ll.swapSlots(var6, var8);
};
if (IlIIlIllI1.isEnabled()) {
IlIIlIllI1.applySlowness(10L, var9);
} else {
var9.run();
}
}
}
}
lI1IlIl1ll.swapToSlot(var1);
}
private void prepareThrow() {
this.rotateDown();
this.rotationTimer.reset();
this.rotating = true;
}
private void usePotion() {
lI1IlIl1ll.useItem(class_1268.field_5808);
this.throwTimer.reset();
this.throwing = true;
this.rotating = false;
}
@generated
public static IIll1llI1I getInstance() {
return instance;
}
}
вот это будет анрил же востановить если у тебя не 200iq?
это даже нет смысла восстанавливать, тут весь код читаемый а вары и ренеймнутые методы спокойно заренеймит обратно любая нейронка либо можно вручную
Проект предоставляет различный материал, относящийся к сфере киберспорта, программирования, ПО для игр, а также позволяет его участникам общаться на многие другие темы. Почта для жалоб: admin@yougame.biz