93 lines
3.1 KiB
Java
93 lines
3.1 KiB
Java
package cloudburst.rejects;
|
|
|
|
import cloudburst.rejects.commands.*;
|
|
import cloudburst.rejects.gui.hud.AppleHud;
|
|
import cloudburst.rejects.gui.hud.CpsHud;
|
|
import cloudburst.rejects.gui.hud.CrystalHud;
|
|
import cloudburst.rejects.gui.hud.ExpHud;
|
|
import cloudburst.rejects.gui.themes.rounded.MeteorRoundedGuiTheme;
|
|
import cloudburst.rejects.modules.*;
|
|
import cloudburst.rejects.utils.GiveUtils;
|
|
import cloudburst.rejects.utils.Utils;
|
|
import meteordevelopment.meteorclient.MeteorAddon;
|
|
import meteordevelopment.meteorclient.MeteorClient;
|
|
import meteordevelopment.meteorclient.gui.GuiThemes;
|
|
import meteordevelopment.meteorclient.systems.commands.Commands;
|
|
import meteordevelopment.meteorclient.systems.modules.Category;
|
|
import meteordevelopment.meteorclient.systems.modules.Modules;
|
|
import meteordevelopment.meteorclient.systems.modules.render.hud.HUD;
|
|
import net.minecraft.item.Items;
|
|
import org.apache.logging.log4j.LogManager;
|
|
import org.apache.logging.log4j.Logger;
|
|
|
|
import java.lang.invoke.MethodHandles;
|
|
|
|
public class MeteorRejectsAddon extends MeteorAddon {
|
|
public static final Logger LOG = LogManager.getLogger();
|
|
public static final Category CATEGORY = new Category("Rejects", Items.BARRIER.getDefaultStack());
|
|
|
|
@Override
|
|
public void onInitialize() {
|
|
LOG.info("Initializing Meteor Rejects Addon");
|
|
|
|
MeteorClient.EVENT_BUS.registerLambdaFactory("cloudburst.rejects", (lookupInMethod, klass) -> (MethodHandles.Lookup) lookupInMethod.invoke(null, klass, MethodHandles.lookup()));
|
|
|
|
Utils.init();
|
|
GiveUtils.init();
|
|
|
|
Modules modules = Modules.get();
|
|
modules.add(new AntiBot());
|
|
modules.add(new AntiSpawnpoint());
|
|
modules.add(new AntiVanish());
|
|
modules.add(new Auto32K());
|
|
modules.add(new AutoBedTrap());
|
|
modules.add(new AutoExtinguish());
|
|
modules.add(new AutoEz());
|
|
modules.add(new AutoHighway());
|
|
modules.add(new AutoPot());
|
|
modules.add(new AutoTNT());
|
|
modules.add(new AutoWither());
|
|
modules.add(new BoatGlitch());
|
|
modules.add(new BoatPhase());
|
|
modules.add(new Boost());
|
|
modules.add(new ColorSigns());
|
|
modules.add(new Confuse());
|
|
modules.add(new CoordLogger());
|
|
modules.add(new Gravity());
|
|
modules.add(new InteractionMenu());
|
|
modules.add(new Glide());
|
|
modules.add(new Lavacast());
|
|
modules.add(new NewChunks());
|
|
modules.add(new ObsidianFarm());
|
|
modules.add(new PacketFly());
|
|
modules.add(new Painter());
|
|
modules.add(new Phase());
|
|
modules.add(new Rendering());
|
|
modules.add(new SkeletonESP());
|
|
modules.add(new SoundLocator());
|
|
|
|
Commands commands = Commands.get();
|
|
commands.add(new GhostCommand());
|
|
commands.add(new GiveCommand());
|
|
commands.add(new SaveSkinCommand());
|
|
commands.add(new HeadsCommand());
|
|
commands.add(new ServerCommand());
|
|
commands.add(new SetBlockCommand());
|
|
commands.add(new TeleportCommand());
|
|
commands.add(new TerrainExport());
|
|
|
|
HUD hud = modules.get(HUD.class);
|
|
hud.elements.add(new AppleHud(hud));
|
|
hud.elements.add(new CrystalHud(hud));
|
|
hud.elements.add(new ExpHud(hud));
|
|
hud.elements.add(new CpsHud(hud));
|
|
|
|
GuiThemes.add(new MeteorRoundedGuiTheme());
|
|
}
|
|
|
|
@Override
|
|
public void onRegisterCategories() {
|
|
Modules.registerCategory(CATEGORY);
|
|
}
|
|
}
|