Tweakeroo

Tweakeroo

2M Downloads

`tweakHandRestockPre` fails when used with `tweakFastRightClick`

James103 opened this issue ยท 1 comments

commented

As of Minecraft 1.18.2, tweakHandRestockPre may fail and disable itself when it's used along with tweakFastRightClick and the player is placing blocks / throwing snowballs at a rate greater than 20 Hz. The only way to guarantee that it works correctly is to attempt to place blocks / use items at a rate of once every (your ping + 50 to 100) ms and not be pressing any movement keys during that time.

To reproduce:

  1. /gamemode survival
  2. Turn on tweakHandRestock
  3. Turn on tweakHandRestockPre
  4. Turn on tweakFastRightClick or tweakFastBlockPlacement
  5. Obtain a few stacks of any block or snowball.
  6. Start placing blocks or throwing snowballs.
  7. At some point, tweakHandRestockPre will fail and disable itself until you open and close your inventory.
  8. Open your inventory.
  9. Notice that a small stack of items is left on your cursor.
  10. Close your inventory.

This is likely because Tweakeroo is attempting to simulate several inventory operations in a row while you are both moving and placing blocks. Most of the time, the resulting packets are processed correctly, but sometimes, the packets may be processed in an incorrect order (and/or received too fast), causing some of the operations to fail as described above.

Mod list (important mods only):

  • Minecraft 1.18.2
  • Fabric Loader 0.13.3
  • Fabric API 0.47.8
  • Malilib 0.12.1
  • Tweakeroo 0.13.1
  • Lithium 0.7.9
commented

i also have this issue in 1.20.1