Source Free Src AntiFlag For Minecraft

CrazyTrap

Newbie
Newbie
Newbie
Newbie
Status
Offline
Joined
Jul 18, 2023
Messages
379
Reaction score
2
We are thrilled to welcome you to our ultimate source hub for all things Minecraft! Our goal is to provide you with a vast selection of free and downloadable Minecraft resources, specifically curated under the section titled "Minecraft Cheat Sources." We take great pride in our dedicated team, who have invested countless hours in testing and verifying each source's functionality to ensure they meet the highest standards.

Feel free to explore our collection of Minecraft cheats, as we are confident they will enhance your gaming experience to perfection. Whether you're a seasoned player or new to the world of Minecraft, we have something for everyone

maxresdefault.jpg

AntiFlag:​

Code:
public class AntiFlag extends Module {
    public static BooleanSetting disable = new BooleanSetting("Auto Disable", true, () -> true);

    public AntiFlag() {
        super("AntiFlag", ModuleCategory.Movement);
        addSettings(disable);
    }

    @EventTarget
    public void onReceivePacket(EventReceivePacket event) {
        if (isEnabled() &&
                event.getPacket() instanceof net.minecraft.network.play.server.SPacketPlayerPosLook) {
            if (Smertnix.instance.featureManager.getFeature(Speed.class).isEnabled()) {
                featureAlert("Speed");
                if (disable.getCurrentValue()) {
                    Smertnix.instance.featureManager.getFeature(Speed.class).toggle();
                }
            } else if (Smertnix.instance.featureManager.getFeature(Spider.class).isEnabled() && Minecraft.player.isCollidedHorizontally) {
                featureAlert("Spider");
                if (disable.getCurrentValue())
                    Smertnix.instance.featureManager.getFeature(Spider.class).toggle();
            } else if (Smertnix.instance.featureManager.getFeature(elytrafly.class).isEnabled()) {
                featureAlert("ElytraLeaveSunrise");
                if (disable.getCurrentValue()) {
                    Smertnix.instance.featureManager.getFeature(elytraleave.class).toggle();
                }
            } else if (Smertnix.instance.featureManager.getFeature(elytrafly.class).isEnabled() && Minecraft.player.isInLiquid()) {
                featureAlert("ElytraFlySunrise");
                if (disable.getCurrentValue()) {
                    Smertnix.instance.featureManager.getFeature(elytrafly.class).toggle();
                }
            } else if (Smertnix.instance.featureManager.getFeature(Timer.class).isEnabled()) {
                featureAlert("Timer");
                if (disable.getCurrentValue()) {
                    Smertnix.instance.featureManager.getFeature(Timer.class).toggle();
                }
            }
        }
    }

    public void featureAlert(String feature) {
        NotifRender.queue("Anti Flag Debug", "Module " + feature + " was flagged" + (Minecraft.player.isInWater() ? " on water" : "") + (Minecraft.player.isInLava() ? " in lava" : "") + "!", 3, NotifModern.SUCCESS);
    }
 
Last edited:
Top