trident-boost module

trident-boost: Minecraft 26.3 cheat module, full source for every implementation (1 client: Meteor Client).

1 implementationMovement

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 ClientMovementsrc/main/java/meteordevelopment/meteorclient/systems/modules/movement/TridentBoost.javaJava · 46 lines · 1.5 KB

Boosts you when using riptide with a trident.

Settingsboostout-of-water
TridentBoost.javaJava · Minecraft 26.2 · 46 lines · 1.5 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.movement;
7
8
import meteordevelopment.meteorclient.settings.BoolSetting;
9
import meteordevelopment.meteorclient.settings.DoubleSetting;
10
import meteordevelopment.meteorclient.settings.Setting;
11
import meteordevelopment.meteorclient.settings.SettingGroup;
12
import meteordevelopment.meteorclient.systems.modules.Categories;
13
import meteordevelopment.meteorclient.systems.modules.Module;
14
15
public class TridentBoost extends Module {
16
    private final SettingGroup sgGeneral = settings.getDefaultGroup();
17
18
    private final Setting<Double> multiplier = sgGeneral.add(new DoubleSetting.Builder()
19
        .name("boost")
20
        .description("How much your velocity is multiplied by when using riptide.")
21
        .defaultValue(2)
22
        .min(0.1)
23
        .sliderMin(1)
24
        .build()
25
    );
26
27
    private final Setting<Boolean> allowOutOfWater = sgGeneral.add(new BoolSetting.Builder()
28
        .name("out-of-water")
29
        .description("Whether riptide should work out of water")
30
        .defaultValue(true)
31
        .build()
32
    );
33
34
    public TridentBoost() {
35
        super(Categories.Movement, "trident-boost", "Boosts you when using riptide with a trident.");
36
    }
37
38
    public double getMultiplier() {
39
        return isActive() ? multiplier.get() : 1;
40
    }
41
42
    public boolean allowOutOfWater() {
43
        return isActive() && allowOutOfWater.get();
44
    }
45
}
46