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

Fixed quick move stack actions in the storage terminal #100

Conversation

Snonky
Copy link
Contributor

@Snonky Snonky commented Apr 26, 2023

Fixing #18

Before

Notice how the vanilla double-click-with-a-stack transfers all items of a type but it doesn't work in the terminal.

terminal_before.mp4

After

With the fix, you are able to store all items of a type using the double click.

terminal_after.mp4

With inventory management mod

It also makes inventory management mods like MouseTweaks work with the terminal YaLTeR/MouseTweaks#68

terminal_tweaked.mp4

The fix

The pr implements #quickMoveStack as suggested in #18. It also changes the way the terminal screen hands click events to its super class to make all quick move actions end up in the #quickMoveStack method.

@CLAassistant
Copy link

CLAassistant commented Apr 26, 2023

CLA assistant check
All committers have signed the CLA.

@Snonky Snonky marked this pull request as ready for review April 27, 2023 13:22
Copy link
Member

@rubensworks rubensworks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!

Aside from the suggested changes, would it be possible to target the 1.19-lts branch? (or perhaps even the 1.18 branch if desired)
I usually do these implementations in the lowest supported version (1.18), and then upmerge upon release.

@Snonky Snonky force-pushed the storage-terminal-quickmovestack-fix branch from 79cba22 to 4ec6ad9 Compare May 1, 2023 13:06
@Snonky Snonky changed the base branch from master-1.19 to master-1.19-lts May 1, 2023 13:07
@rubensworks rubensworks merged commit 008e70e into CyclopsMC:master-1.19-lts May 6, 2023
@Snonky Snonky deleted the storage-terminal-quickmovestack-fix branch May 10, 2023 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants