1.18.2 Broken AccurateBlockPlacement
aria1th opened this issue · 6 comments
ServerPlayerNetworkHandler now checks if all( HitVec - BlockPos center < 1).
Carpet Extra should mixin this to bypass check, or implement other way... now we can't use modified X values to tell server something.
I have this issue on my server when I try to use tweakeroo's flexibleBlockPlacementRotation.
output from server console:
Server thread/ Ignoring UseItemOnPacket from USERNAME: Location (-445.0, 69.0, 125.14848057925701) too far away from hit block class_2338{x=-451, y=69, z=125}.
fabric-carpet 1.4.66 v220228
carpet-extra 1.4.64
This is the commit masa used to fix it in tweakeroo if it helps
I have PRs prepared to fix this, and also to update the accurate placement implementation to use the same code as Tweakeroo does. I just need to still test it on a local server to make sure it works properly before I submit the PRs.
@MasteredRed The PRs are still open. There is a fixed build linked in this comment: #251 (comment)