NoCameraClip module

NoCameraClip: Minecraft 26.3 cheat module, full source for every implementation (1 client: MelaHack (ThunderHack fork)).

1 implementationRENDER

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.

MelaHack (ThunderHack fork)RENDERsrc/main/java/thunder/hack/features/modules/render/NoCameraClip.javaJava · 30 lines · 1.1 KB

Removes the third-person camera clip.

SettingsAntiFrontDistance
NoCameraClip.javaJava · Minecraft 26.2 · 30 lines · 1.1 KB · complete file, verbatimOriginal ↗
1
package thunder.hack.features.modules.render;
2
3
import com.mojang.blaze3d.vertex.PoseStack;
4
import net.minecraft.client.CameraType;
5
import thunder.hack.features.modules.Module;
6
import thunder.hack.setting.Setting;
7
import thunder.hack.utility.render.animation.AnimationUtility;
8
9
public class NoCameraClip extends Module {
10
    public NoCameraClip() {
11
        super("NoCameraClip", Category.RENDER);
12
    }
13
14
    public Setting<Boolean> antiFront = new Setting<>("AntiFront", false);
15
    public Setting<Float> distance = new Setting<>("Distance", 3f, 1f, 20f);
16
    private float animation;
17
18
    public void onRender3D(PoseStack matrix) {
19
        if (mc.options.getCameraType() == CameraType.FIRST_PERSON) animation = AnimationUtility.fast(animation, 0f, 10);
20
        else animation = AnimationUtility.fast(animation, 1f, 10);
21
22
        if (mc.options.getCameraType() == CameraType.THIRD_PERSON_FRONT && antiFront.getValue())
23
            mc.options.setCameraType(CameraType.FIRST_PERSON);
24
    }
25
26
    public float getDistance() {
27
        return 1f + ((distance.getValue() - 1f) * animation);
28
    }
29
}
30