-
Notifications
You must be signed in to change notification settings - Fork 180
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
Port Multiblocks to MUI2 #2672
Draft
ghzdude
wants to merge
90
commits into
master
Choose a base branch
from
tc/mui2-multis
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Port Multiblocks to MUI2 #2672
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ghzdude
force-pushed
the
tc/mui2-multis
branch
from
January 8, 2025 03:29
ec0a767
to
155e1db
Compare
port MultiblockDisplayText to mui2
almost everything mui2 related is moved into MultiblockUIFactory fix issues with cyclebutton widget textures fix syncing (at least for EBF) probably other things i don't feel like writing about
fix distinct bus button more work on MultiblockUIFactory bars work again
add ByteSyncValue implement blinking logos
add dynamic keys add helper methods
use list instead of consumer move margin to power button instead of flex
add note for dynamic texture
add multiblock name make steam output dynamic
this is the most i can do for waterFilled for now
always add fuel line
no need to use dynamic ikeys
fix comp keys losing formatting actually draw the formatted keys
remove unneeded method spotless
ghzdude
force-pushed
the
tc/mui2-multis
branch
from
January 9, 2025 07:16
08b8c45
to
55fefcd
Compare
ghzdude
force-pushed
the
tc/mui2-multis
branch
from
January 9, 2025 23:00
55fefcd
to
4dad110
Compare
improve display text big cleanup
add hover method to KeyUtil
add todo notes to all mui2 mixins
add varargs to setHover()
improve builder to sync and detect changes server-side
use overridable methods for screen/indicator remove initial syncing for ui
de/serialize numbers correctly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
Ports every multiblock with a UI to use MUI2.
Implementation Details
MultiMapMultiblockController
will need to be updated (GCYM) or overrideusesMui2()
to return false.KeyUtils
to replaceTextComponantUtil
createUIFactory()
to create needed sync values and return a configuredMultiblockUIFactory
createUIFactory()
is called duringwriteInitialSyncData()
andreceiveInitialSyncData()
so that values can be synced correctly before the ui is openedCurrently ported multis are:
Outcome
multiblock uis are fancier