InvMove
InvMove copied to clipboard
Unexpected Sneak Mode behavior
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
- In
Controls, setSneaktoToggle - Set
Sneak Modeto anything exceptOff - 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
Yeah I'll take a look at this, probably got broken during some refactoring