InvMove icon indicating copy to clipboard operation
InvMove copied to clipboard

Unexpected Sneak Mode behavior

Open kkiris opened this issue 3 months ago • 1 comments

Bug Description When Toggle Sneak is enabled and the player is sneaking when they open the Inventory, the following is what occurs:

Sneak Mode Actual Behavior Expected Behavior
Off Disables sneak when opening inventory, then re-enables upon closing
Maintain Disables sneak when opening inventory, then re-enables upon closing Maintains sneak when opening inventory (and when closing)
Pressed Untoggles sneak when opening inventory, allows toggling with inventory open, re-enables upon closing if uncrouched when closing or disables sneak if enabled while closing Either restore pre-inventory state or maintain current state when closing inventory (currently inconsistent which seems buggy)
MaintainWhilePressed Same as Maintain Same as Maintain but allow toggling

To Reproduce

  1. In Controls, set Sneak to Toggle
  2. Set Sneak Mode to anything except Off
  3. Observe the above behavior

Version and Mod List (Other mods are basically just Mod Menu & dependencies) Minecraft: 1.21.10 Fabric: 0.17.3 InvMove: 0.9.1 Cloth Config: 20.0.148 Fabric API: 0.135.0+1.21.10 Mod Menu: 16.0.0-rc.1 Text Placeholder API: 2.8.0+1.21.9

kkiris avatar Oct 15 '25 00:10 kkiris

Yeah I'll take a look at this, probably got broken during some refactoring

PieKing1215 avatar Oct 20 '25 18:10 PieKing1215