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

Show previews for multiblocks that contain searched item #22

Merged
merged 7 commits into from
Nov 24, 2024

Conversation

Lyfts
Copy link
Member

@Lyfts Lyfts commented Nov 9, 2024

multi_casing

It's currently very restricted in which blocks it looks for, but it should still cover the majority of the blocks used in multis. If any major ones are missing just lmk
There's also a few micro-optimizations sprinkled in via gtnhlib & fastutil to kill off some dumb allocations.

The preview will now also start at the tier that contains the searched block
br6343_tier

A gui refactor was added free of charge because it was a massive headache to work with before and kept breaking in stupid ways. Everything looks and works exactly as it used to, but is now 50% less likely to induce throbbing headaches.
Nah nevermind, I'll be making a different pr that reworks the gui to be more user friendly

Closes GTNewHorizons/GT-New-Horizons-Modpack#17775

Also fixes a crash when right clicking some blocks in the railcraft boiler previews. It's such a small fix which I don't feel necessitates a separate pr, plus one of the classes have been renamed in this pr which makes porting it annoying.
Closes GTNewHorizons/GT-New-Horizons-Modpack#16421

@Lyfts Lyfts requested a review from a team November 9, 2024 18:20
@Lyfts Lyfts force-pushed the show-multi-from-casing branch from 96c8ec9 to d843927 Compare November 12, 2024 15:10
Copy link

@Ethryan Ethryan left a comment

Choose a reason for hiding this comment

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

Looks fine to me, but waiting for someone else to go through it too.

@Dream-Master Dream-Master merged commit 050a2bd into master Nov 24, 2024
1 check passed
@Dream-Master Dream-Master deleted the show-multi-from-casing branch November 24, 2024 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants