Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Commit

Permalink
Camera position spoof in hud
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekiplay committed Apr 8, 2024
1 parent 9d197f9 commit 509bc99
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ private static void init(CallbackInfo ci) {
ss.set("camera", new ValueMap()
.set("pos", new ValueMap()
.set("_toString", () -> posString(false, true))
.set("x", () -> Value.number(mc.gameRenderer.getCamera().getPos().x))
.set("x", () -> Value.number(mc.gameRenderer.getCamera().getPos().x + ConfigModifier.get().x_spoof.get()))
.set("y", () -> Value.number(mc.gameRenderer.getCamera().getPos().y))
.set("z", () -> Value.number(mc.gameRenderer.getCamera().getPos().z))
.set("z", () -> Value.number(mc.gameRenderer.getCamera().getPos().z + ConfigModifier.get().z_spoof.get()))
)
.set("opposite_dim_pos", new ValueMap()
.set("_toString", () -> posString(true, true))
Expand Down

0 comments on commit 509bc99

Please sign in to comment.