no-status-effects module

no-status-effects: Minecraft 26.3 cheat module, full source for every implementation (1 client: Meteor Client).

1 implementationPlayer

Clients with this module

Full module source: 1 implementation

Every implementation below is the complete module file, verbatim. Expand a client to read its code.

Meteor ClientPlayersrc/main/java/meteordevelopment/meteorclient/systems/modules/player/NoStatusEffects.javaJava · 42 lines · 1.4 KB

Blocks specified status effects.

Settingsblocked-effects
NoStatusEffects.javaJava · Minecraft 26.2 · 42 lines · 1.4 KB · complete file, verbatimOriginal ↗
1
/*
2
 * This file is part of the Meteor Client distribution (https://github.com/MeteorDevelopment/meteor-client).
3
 * Copyright (c) Meteor Development.
4
 */
5
6
package meteordevelopment.meteorclient.systems.modules.player;
7
8
import meteordevelopment.meteorclient.settings.Setting;
9
import meteordevelopment.meteorclient.settings.SettingGroup;
10
import meteordevelopment.meteorclient.settings.StatusEffectListSetting;
11
import meteordevelopment.meteorclient.systems.modules.Categories;
12
import meteordevelopment.meteorclient.systems.modules.Module;
13
import net.minecraft.world.effect.MobEffect;
14
15
import java.util.List;
16
17
import static net.minecraft.world.effect.MobEffects.*;
18
19
public class NoStatusEffects extends Module {
20
    private final SettingGroup sgGeneral = settings.getDefaultGroup();
21
22
    private final Setting<List<MobEffect>> blockedEffects = sgGeneral.add(new StatusEffectListSetting.Builder()
23
        .name("blocked-effects")
24
        .description("Effects to block.")
25
        .defaultValue(
26
            LEVITATION.value(),
27
            JUMP_BOOST.value(),
28
            SLOW_FALLING.value(),
29
            DOLPHINS_GRACE.value()
30
        )
31
        .build()
32
    );
33
34
    public NoStatusEffects() {
35
        super(Categories.Player, "no-status-effects", "Blocks specified status effects.");
36
    }
37
38
    public boolean shouldBlock(MobEffect effect) {
39
        return isActive() && blockedEffects.get().contains(effect);
40
    }
41
}
42