Added BlockIn (selftrap + surround + any block)

This commit is contained in:
StormyBytes
2021-07-18 12:17:22 +07:00
parent 5c97e9f5f4
commit b5f720edc2
2 changed files with 211 additions and 64 deletions

View File

@@ -23,68 +23,69 @@ 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 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 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);
}
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 BlockIn());
modules.add(new BoatPhase());
modules.add(new Boost());
modules.add(new ColorSigns());
modules.add(new Confuse());
modules.add(new CoordLogger());
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 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);
}
}