Open liquidsquid1 opened 4 months ago
So, a Y client-side spoof option?
So, a Y client-side spoof option?
Exactly.
I've already made a liquidbounce script to replicate the behavior but it would be nice for it to be a feature in the client:
https://github.com/CCBlueX/LiquidBounce/assets/151129309/e37e9abd-0933-4dd3-958b-f76ab0aa8d0f
https://github.com/CCBlueX/LiquidBounce/assets/151129309/1d22ae10-c3ea-4106-9f19-5b4575c3dc35
I've already made a liquidbounce script to replicate the behavior but it would be nice for it to be a feature in the client:
first person
2024-06-16.18-44-30.mp4
third person
2024-06-16.18-45-26.mp4
Would you mind giving me the script?
I've already made a liquidbounce script to replicate the behavior but it would be nice for it to be a feature in the client:
first person
2024-06-16.18-44-30.mp4
third person
2024-06-16.18-45-26.mp4
Would you mind giving me the script?
Not like it would help, as i've already tried and setting the camera without using a mixin is inaccessible. But here it is!
const Vec3d = Java.type("net.minecraft.util.math.Vec3d");
const script = registerScript({
name: "squidutils",
version: "0.0.0",
authors: ["@liquid.squid"]
});
script.registerModule({
name: "CustomView",
category: "Render", // Movement, Combat, Render, ...
description: "Sets a custom view"
}, (mod) => {
let frozenY = 0;
mod.on("enable", () => {
frozenY = mc.gameRenderer.camera.pos.y;
});
mod.on("worldRender", () => {
let position = mc.gameRenderer.camera.pos;
mc.gameRenderer.camera.setPos(new Vec3d(position.x, frozenY, position.z));
});
});
I have an idea for your script
LiquidBounce Branch
Nextgen
Describe your feature request.
It would be cool and more visually appealing if there was an option in the scaffold to freeze the Y position of the scaffold, so that for telly scaffolds it’ll just look like you are bridging without jumping.
In third person, it should also keep the camera at the same Y position and make the body jump up and down in third person.
Additional context
No response