TerminalMC / ClientSort

A client-side multi-loader Minecraft mod implementing Siphalor's sorting algorithm from Mouse Wheelie.
https://modrinth.com/mod/K0AkAin6
Apache License 2.0
5 stars 4 forks source link

Middle-clicking an item in creative mode sorts the inventory #7

Closed Tisawesomeness closed 4 months ago

Tisawesomeness commented 4 months ago

Mod Version

0.6.0

Mod Loader

fabric

Minecraft Version

1.21

Bug Description

When middle-clicking an item in creative mode, a stack of 64 items is created as expected, but the inventory is sorted and the items are placed back into the inventory, messing up inventory management. In the original Mouse Wheelie mod, middle-clicking an item in creative mode would not sort the inventory.

Reproduction Steps

  1. Place various items in the creative inventory
  2. Middle-click an item
  3. Notice that the items are sorted and the new stack of items are placed back into the inventory

Log File (optional)

No response

Crash Report (optional)

No response

NotRyken commented 4 months ago

Thanks for reporting. MouseWheelie uses Amecs to handle the keybind, which allows it to avoid this problem, however because ClientSort can't use Amecs I'll have to figure some sort of workaround.