Files
Meteor-Rejects/src/main/java/cloudburst/rejects/MeteorRejectsAddon.java
C10udburst f86cbbc407 add chatbot
2021-09-19 17:09:33 +02:00

105 lines
3.9 KiB
Java

package cloudburst.rejects;
import cloudburst.rejects.commands.*;
import cloudburst.rejects.gui.hud.*;
import cloudburst.rejects.gui.themes.rounded.MeteorRoundedGuiTheme;
import cloudburst.rejects.modules.*;
import cloudburst.rejects.modules.modifier.NoRenderModifier;
import cloudburst.rejects.utils.GiveUtils;
import cloudburst.rejects.utils.RejectsUtils;
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()));
RejectsUtils.init();
GiveUtils.init();
// Modules
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 AutoCraft());
modules.add(new AutoExtinguish());
modules.add(new AutoEz());
modules.add(new AutoPot());
modules.add(new AutoTNT());
modules.add(new AutoWither());
modules.add(new BedrockWalk());
modules.add(new BoatGlitch());
modules.add(new BlockIn());
modules.add(new BoatPhase());
modules.add(new Boost());
modules.add(new ChatBot());
modules.add(new ColorSigns());
modules.add(new Confuse());
modules.add(new CoordLogger());
modules.add(new CustomPackets());
modules.add(new InteractionMenu());
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 Prone());
modules.add(new Rendering());
modules.add(new SkeletonESP());
modules.add(new SoundLocator());
// Module modifications
NoRenderModifier.init();
// Commands
Commands commands = Commands.get();
commands.add(new GhostCommand());
commands.add(new GiveCommand());
commands.add(new SaveSkinCommand());
commands.add(new SeedCommand());
commands.add(new HeadsCommand());
commands.add(new KickCommand());
// commands.add(new LocateCommand()); I wish it was that simple -_-
commands.add(new ServerCommand());
commands.add(new SetBlockCommand());
commands.add(new TeleportCommand());
commands.add(new TerrainExport());
// HUD
HUD hud = modules.get(HUD.class);
hud.elements.add(new AppleHud(hud));
hud.elements.add(new BaritoneHud(hud));
hud.elements.add(new CrystalHud(hud));
hud.elements.add(new ExpHud(hud));
hud.elements.add(new CpsHud(hud));
// Themes
GuiThemes.add(new MeteorRoundedGuiTheme());
}
@Override
public void onRegisterCategories() {
Modules.registerCategory(CATEGORY);
}
}