Integrated Dynamics

Integrated Dynamics

88M Downloads

Mouse tweaks scroll item deletion

RoarkCats opened this issue ยท 7 comments

commented

Issue type:

  • ๐Ÿ› Bug

Short description:

Using the mouse wheel to scroll items into the item slot in a logic programmer deletes the items

Steps to reproduce the problem:

  1. Install Mouse Tweaks
  2. Open a Logic Programmer
  3. Select a type with an item slot (Item)
  4. Hover over an item in your inventory and scroll to move it into the slot
  5. Item moves properly but also leaves inventory therefore deleting itself as Logic Programmer's item is a fake item

Expected behaviour:

Either the scroll behavior should not work here or it should not decrease the item stack in your inventory but still function


Versions:

  • This mod: 1.27.1
  • Minecraft: 1.20.1
  • Mod loader version: Forge 47.4.0
commented

Thanks for reporting!

commented

I'm not sure how their mechanics cooperate with placeholder item slots, but if that's something that we need to cover for them instead, then the expected behaviour would be disabling the scroll feature.

But if it is their mechanics not properly supporting placeholders (I'm not sure how that works), then this bug is entirely theirs instead. Just sharing my thoughts.

commented

"I don't think Mouse Tweaks is at fault here, at least not entirely. Mouse Tweaks is just clicking the inventory client-side, it cannot delete items." (See mentioned post)

Note: not all placeholder item slots had this issue, only like 2 of the 6 different mods I tried (Create, EnderIO, Trash Cans, Sophisticated were all fine, only ID and Item Filters had this bug)

commented

I just followed your exact steps, and all is working fine on my end (no duplicating, and the fake slot's item count increases on scroll).

I suspect there's another mod in your pack that breaks things.

commented

Hmm, that appears to be the case, I'll look to conduct a binary search to find the problematic mod(s)

commented

My bad, not an issue with Mouse Tweaks, it's Inventory Sorter which has its own scroll functionality which is broken, most likely on their end

commented

Thanks for the update!