doxhitbox-1.0.5.jar
Curse Maven Snippet
What's new
Fixed: guns could stop registering hits entirely while leaning.
Player gun damage is decided by a client-side trajectory simulation at the moment of
firing (the server-side hit event is cancelled, so the shooter's own view is what
counts). That simulation started at the player's eye position — but a lean mod moves
the bullet spawn up to half a block sideways. The simulated path ran parallel to the
real one and missed, no hit claim was sent, and since the server had already bowed
out, nothing took damage. Crosshair dead on target, no reaction at all.
Added a `DoxPoseHooks.shootOrigin` hook so whatever moves the muzzle can report the
same offset, and the simulation now follows it. Without a registration the behaviour
is unchanged, and this mod still depends on nothing.
This mod has no additional files

