Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect block placement when swapping blocks between inventory and hotbar #253

Open
AccidentallyLezlie opened this issue Feb 14, 2025 · 1 comment

Comments

@AccidentallyLezlie
Copy link

AccidentallyLezlie commented Feb 14, 2025

Using the Litematica Printer on a server results in sporadic incorrect block placement when the Printer has to swap blocks between the inventory and hotbar. The condition gets worse with higher ping and is unaffected by changes to the "printingInterval" setting.

This appears to be due to the printingInterval delay being applied after a block is placed and before the next block is selected. There is no delay between swapping stacks and placing the next block, leading to desync between the server and client and incorrect block placement.

If I'm right about the cause, a quick fix could be to set the printingInterval to apply the delay after selecting a block and before placing it. A longer-term fix could be for the Printer to implement the Litematica easyPlaceSwapInterval setting to allow adjusting both the print speed and the swap interval to prevent misplaced blocks under various ping conditions.

@Thedionchi
Copy link

please make this possible ^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants