Player Abilities

This commit is contained in:
Kam committed 2026-01-30 05:01:54 -05:00
1 parent 601b0d721e
commit 1b8ad4dd90
92 files changed
+2610 -1025

No files matched your search

@@ -75,9 +75,10 @@ public class AnchorPointHelper {
switch (anchor) {
case FRONT:
x -= Math.sin(headYaw) * frontOffset * scale;
y += height * FRONT_HEIGHT;
z += Math.cos(headYaw) * frontOffset * scale;
Vec3 look = entity.getLookVec();
x += look.xCoord * frontOffset * scale;
y += height * FRONT_HEIGHT + look.yCoord * frontOffset * scale;
z += look.zCoord * frontOffset * scale;
break;
case CENTER: