ExtraSounds

ExtraSounds

3M Downloads

Inventory Profiles Next Compatibility

pawbap opened this issue ยท 3 comments

commented

With the IPN mod, it's possible to hold down Shift and drag the cursor over items, moving said items in the cursor's dragging path to or from an inventory. Currently, this bypasses Extra Sounds and doesn't create any sound. It would be cool to hear a barrage of item moving sounds for this, if that's even possible!

commented

Inventory Profiles skips the item click event and sends an inventory change packet immediately, which is why the sound does not get played. Listening for the packet as well might fix another issue I had to work around where sounds are played multiple times on click. I'll take a look.

commented

IPN "simulates clicks" but I Invoke ScreenHandler.onSlotClick instead of Screen.onMouseClick essentially bypassing most of the local processing. As an added bonus this allows me to be compatible with some mods that extend Screen in strange ways.

I guess you can hook in the same place.

commented

Ah, I inject into HandledScreen, so that makes sense. May be that I was referring to another inventory management mod instead. Working on it.