Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shift-left clicking slots in the fancy crafting screen moves items from old crafting screen with InventoryProfileNext installed #671

Open
cvrunmin opened this issue Apr 24, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@cvrunmin
Copy link

cvrunmin commented Apr 24, 2024

What happened?

Yes, With InventoryProfileNext installed, if you shift-clicking the 5th slot on the 2nd row of inventory slots in the fancy crafting screen, the "Close" item from the actual crafting screen is "moved" to the hotbar and hence, close the screen. You trigger the "Back" item if you open the crafting screen from Skyblock menu.

If you hold shift-left click and drag from the 2nd or 3rd row of crafting slots to outside of slots, you move the glass pane to the inventory. You also move the glass pane to the hotbar if shift-left clicking the 1st and 2nd row of inventory slots, except 2nd row 5th slot which is close/back item. These should be caused by the same bug based on the reproducing logic.

EDIT: amending some wordings as it is found to be a mod compatibility issue.

Screenshots

No response

Log output

No response

Minecraft Version

1.20.4

Skyblocker Version

skyblocker-1.20.0+1.20.4.jar

Additional context

Full mod list:

  • aaron-mod-1.2.2
  • architectury-11.1.17
  • chatpatches-204.6.2
  • citresewn-1.1.4 (dicedpixels' fork)
  • cloth-config-13.0.121
  • durabilityviewer-1.20.4-fabric0.91.2-1.10.5
  • edgelesschatscreen-1.20-1.0.2
  • entityculling-fabric-1.6.4-mc1.20.4
  • fabric-api-0.96.11+1.20.4
  • fabric-language-kotlin-1.10.19+kotlin.1.9.23
  • ferritecore-6.0.3
  • gamma_shifter-1.0.4
  • ImmediatelyFast-1.2.10+1.20.4
  • InventoryProfilesNext-1.20.3-1.10.10
  • iris-1.6.17
  • libIPN-1.20.3-4.0.2
  • lithium-mc1.20.4-0.12.1
  • modmenu-9.0.0
  • ok-boomer-0.1.3+1.20.2
  • owo-lib-0.12.5+1.20.3
  • reeses_sodium_options-1.7.2+mc1.20.4-build.102
  • RoughlyEnoughItems-14.0.688-fabric
  • seamless-2.2.2-fabric-1.20.4
  • skyblocker-1.20.0+1.20.4
  • sodium-extra-0.5.4+mc1.20.4-build.116
  • sodium-fabric-0.5.8+mc1.20.4
  • tooltip-scroll-1.3.0
  • Xaeros_Minimap_24.1.1_Fabric_1.20.4
  • XaerosWorldMap_1.38.4_Fabric_1.20.4
  • yet-another-config-lib-fabric-3.3.2+1.20.4
@cvrunmin cvrunmin added the bug Something isn't working label Apr 24, 2024
@viciscat
Copy link
Collaborator

well that's quirky

@cvrunmin
Copy link
Author

well that's quirky

Even more quirky, if you shift-left click an item from the inventory slot mentioned, the item is moved to the crafting table AND a glass pane is moved to the hotbar. Hope this info gives you more clues.

@viciscat
Copy link
Collaborator

I can't reproduce?? I can shift click just fine on all the slots. What mods do you have

@cvrunmin
Copy link
Author

I can't reproduce?? I can shift click just fine on all the slots. What mods do you have

Confirmed that the issue disappear if I uninstall InventoryProfileNext-1.20.3-1.10.10
Here is the full list, if you needed:

  • aaron-mod-1.2.2
  • architectury-11.1.17
  • chatpatches-204.6.2
  • citresewn-1.1.4 (dicedpixels' fork)
  • cloth-config-13.0.121
  • durabilityviewer-1.20.4-fabric0.91.2-1.10.5
  • edgelesschatscreen-1.20-1.0.2
  • entityculling-fabric-1.6.4-mc1.20.4
  • fabric-api-0.96.11+1.20.4
  • fabric-language-kotlin-1.10.19+kotlin.1.9.23
  • ferritecore-6.0.3
  • gamma_shifter-1.0.4
  • ImmediatelyFast-1.2.10+1.20.4
  • InventoryProfilesNext-1.20.3-1.10.10
  • iris-1.6.17
  • libIPN-1.20.3-4.0.2
  • lithium-mc1.20.4-0.12.1
  • modmenu-9.0.0
  • ok-boomer-0.1.3+1.20.2
  • owo-lib-0.12.5+1.20.3
  • reeses_sodium_options-1.7.2+mc1.20.4-build.102
  • RoughlyEnoughItems-14.0.688-fabric
  • seamless-2.2.2-fabric-1.20.4
  • skyblocker-1.20.0+1.20.4
  • sodium-extra-0.5.4+mc1.20.4-build.116
  • sodium-fabric-0.5.8+mc1.20.4
  • tooltip-scroll-1.3.0
  • Xaeros_Minimap_24.1.1_Fabric_1.20.4
  • XaerosWorldMap_1.38.4_Fabric_1.20.4
  • yet-another-config-lib-fabric-3.3.2+1.20.4

@cvrunmin cvrunmin changed the title Shift-left clicking the 5th slot on the 2nd row in the fancy crafting screen closes the screen Shift-left clicking slots in the fancy crafting screen moves items from old crafting screen with InventoryProfileNext installed Apr 25, 2024
@cvrunmin
Copy link
Author

update: turning off CONTAINER_SWIPE_MOVING_ITEMS config from InventoryProfileNext will fix the issue. We can narrow down the code to inspect into here https://github.com/blackd/Inventory-Profiles/blob/537c5bcc89b1764cc630abca6654e9be1769e27e/shared-sources/src/main/java/org/anti_ad/mc/ipnext/event/ClientEventHandler.kt#L73

@viciscat
Copy link
Collaborator

Thanks for tracking down the cause to there! I will look into it but this might be hard because of kotlin shenanigans

@viciscat
Copy link
Collaborator

alright so I looked into the code and I think it's cuz it doesn't check if slot.isDisabled()... Can't find it anywhere. So I don't think we can fix it

@Julienraptor01
Copy link
Contributor

alright so I looked into the code and I think it's cuz it doesn't check if slot.isDisabled()... Can't find it anywhere. So I don't think we can fix it

https://github.com/Bawnorton/MixinSquared moment ?
Or PR maybe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants