-
Notifications
You must be signed in to change notification settings - Fork 181
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 passthrough hatches to MUI2 and allow them to be togged #2504
Port passthrough hatches to MUI2 and allow them to be togged #2504
Conversation
Also, would it make sense to have the input and output be toggled separately, or just both at the same time (how I have it now)? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works fine in game, though workingEnabled
needs to be synced with initialSyncData
along with my other comments.
I did also notice issues with GTFluidSlot, but that's handled in #2622
...egtech/common/metatileentities/multi/multiblockpart/MetaTileEntityPassthroughHatchFluid.java
Outdated
Show resolved
Hide resolved
...regtech/common/metatileentities/multi/multiblockpart/MetaTileEntityPassthroughHatchItem.java
Outdated
Show resolved
Hide resolved
...egtech/common/metatileentities/multi/multiblockpart/MetaTileEntityPassthroughHatchFluid.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be merged after #2622 to prevent any conflicts with that PR.
1114400
to
38394fe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mui2 code lgtm
What
To resolve #2490
Implementation Details
I migrated them to MUI2 and added logic in
update()
to only move stuff when active.Outcome
Passthrough hatches can be toggled in their GUIs and controller covers can be attached.
Potential Compatibility Issues
Passthrough hatches which were placed before this change should be set to working when loaded for the first time because of a check in
readFromNBT
.I'm not satisfied with the outcome of the fluid passthrough hatch's new UI, so I'll have to keep working on that. *Please don't merge until the FluitSlot from MUI2 matches how it works in MUIno idea when this will be changed so oh well.