use of meteordevelopment.meteorclient.systems.modules.Modules in project meteor-rejects by AntiCope.
the class MeteorRejectsAddon method onInitialize.
@Override
public void onInitialize() {
LOG.info("Initializing Meteor Rejects Addon");
MeteorClient.EVENT_BUS.registerLambdaFactory("anticope.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 AutoPot());
modules.add(new AutoTNT());
modules.add(new AutoWither());
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 GhostMode());
modules.add(new InteractionMenu());
modules.add(new Lavacast());
modules.add(new NewChunks());
modules.add(new ObsidianFarm());
modules.add(new OreSim());
modules.add(new PacketFly());
modules.add(new Painter());
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 CenterCommand());
commands.add(new ClearChatCommand());
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 PanicCommand());
commands.add(new SetBlockCommand());
commands.add(new SetVelocityCommand());
commands.add(new TeleportCommand());
commands.add(new TerrainExport());
// HUD
HUD hud = Systems.get(HUD.class);
hud.elements.add(new BaritoneHud(hud));
// Themes
GuiThemes.add(new MeteorRoundedGuiTheme());
}
use of meteordevelopment.meteorclient.systems.modules.Modules in project tanuki by AntiCope.
the class Tanuki method onInitialize.
@Override
public void onInitialize() {
LOG.info("Initializing Tanuki");
// Required when using @EventHandler
MeteorClient.EVENT_BUS.registerLambdaFactory("anticope.tanuki", (lookupInMethod, klass) -> (MethodHandles.Lookup) lookupInMethod.invoke(null, klass, MethodHandles.lookup()));
Modules modules = Modules.get();
modules.add(new AntiCrystal());
modules.add(new AntiCrystalPhase());
modules.add(new AutoGriffer());
modules.add(new BedrockWalk());
modules.add(new Confetti());
modules.add(new FuckedDetector());
modules.add(new PauseOnUnloaded());
modules.add(new TanukiPacketFly());
HUD hud = Systems.get(HUD.class);
hud.elements.add(new ProfileHud(hud));
}
use of meteordevelopment.meteorclient.systems.modules.Modules in project orion by AntiCope.
the class VisualBinds method updateBinds.
private void updateBinds() {
binds.clear();
List<Module> modules = Modules.get().getAll().stream().filter(module -> module.keybind.isSet()).collect(Collectors.toList());
for (Module module : modules) binds.add(module.title + ": [" + module.keybind.toString() + "]");
if (sortMode.get().equals(SortMode.Shortest)) {
binds.sort(Comparator.comparing(String::length));
} else {
binds.sort(Comparator.comparing(String::length).reversed());
}
}
use of meteordevelopment.meteorclient.systems.modules.Modules in project meteor-client by MeteorDevelopment.
the class ResetCommand method build.
@Override
public void build(LiteralArgumentBuilder<CommandSource> builder) {
builder.then(literal("settings").then(argument("module", ModuleArgumentType.module()).executes(context -> {
Module module = context.getArgument("module", Module.class);
module.settings.forEach(group -> group.forEach(Setting::reset));
module.info("Reset all settings.");
return SINGLE_SUCCESS;
})).then(literal("all").executes(context -> {
Modules.get().getAll().forEach(module -> module.settings.forEach(group -> group.forEach(Setting::reset)));
ChatUtils.info("Modules", "Reset all module settings");
return SINGLE_SUCCESS;
}))).then(literal("gui").executes(context -> {
GuiThemes.get().clearWindowConfigs();
ChatUtils.info("Reset GUI positioning.");
return SINGLE_SUCCESS;
})).then(literal("bind").then(argument("module", ModuleArgumentType.module()).executes(context -> {
Module module = context.getArgument("module", Module.class);
module.keybind.set(true, -1);
module.info("Reset bind.");
return SINGLE_SUCCESS;
})).then(literal("all").executes(context -> {
Modules.get().getAll().forEach(module -> module.keybind.set(true, -1));
ChatUtils.info("Modules", "Reset all binds.");
return SINGLE_SUCCESS;
}))).then(literal("hud").executes(context -> {
Systems.get(HUD.class).reset.run();
ChatUtils.info("HUD", "Reset all elements.");
return SINGLE_SUCCESS;
}));
}
use of meteordevelopment.meteorclient.systems.modules.Modules in project meteor-client by MeteorDevelopment.
the class BindsCommand method build.
@Override
public void build(LiteralArgumentBuilder<CommandSource> builder) {
builder.executes(context -> {
// Modules
List<Module> modules = Modules.get().getAll().stream().filter(module -> module.keybind.isSet()).collect(Collectors.toList());
ChatUtils.info("--- Bound Modules ((highlight)%d(default)) ---", modules.size());
for (Module module : modules) {
HoverEvent hoverEvent = new HoverEvent(HoverEvent.Action.SHOW_TEXT, getTooltip(module));
MutableText text = new LiteralText(module.title).formatted(Formatting.WHITE);
text.setStyle(text.getStyle().withHoverEvent(hoverEvent));
MutableText sep = new LiteralText(" - ");
sep.setStyle(sep.getStyle().withHoverEvent(hoverEvent));
text.append(sep.formatted(Formatting.GRAY));
MutableText key = new LiteralText(module.keybind.toString());
key.setStyle(key.getStyle().withHoverEvent(hoverEvent));
text.append(key.formatted(Formatting.GRAY));
ChatUtils.sendMsg(text);
}
return SINGLE_SUCCESS;
});
}
Aggregations