-
Notifications
You must be signed in to change notification settings - Fork 298
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
Refactor Steam Input Bus to extend MTEHatchInputBus #3642
base: master
Are you sure you want to change the base?
Conversation
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.
What about refactoring steam output bus and steam input hatch, if they are not already extending the appropriate class?
...ava/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GTPPMultiBlockBase.java
Outdated
Show resolved
Hide resolved
...ava/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GTPPMultiBlockBase.java
Outdated
Show resolved
Hide resolved
...ava/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GTPPMultiBlockBase.java
Outdated
Show resolved
Hide resolved
.../java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/MTEHatchSteamBusInput.java
Outdated
Show resolved
Hide resolved
...java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/MTESteamMultiBase.java
Show resolved
Hide resolved
wouldnt that mean it will work with non-steam multiblocks? |
public String[] getDescription() { | ||
return new String[] { "Item Input for Steam Multiblocks", | ||
"Shift + right click with screwdriver to toggle automatic item shuffling", "Capacity: 4 stacks", | ||
"Does not work with non-steam multiblocks", GTPPCore.GT_Tooltip.get() }; |
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.
sorry, should have put the comment here: wouldnt this change mean it will work with non-steam multiblocks?
sorry, i will fix this when I can. didn't realize that would happen |
ok but then that has wider implications. would just make this a sneaky cheaper LV input bus. maybe there is some better way to do what you want? |
i meant limiting it to only steam multis, not changing to the tooltip to reflect how it works now |
9b2203b
to
45cf2f4
Compare
Closes GTNewHorizons/GT-New-Horizons-Modpack#18333
The Steam Input Bus currently extends MTEHatch instead of MTEHatchInputBus. Moving to MTEHatchInputBus gave it the following "new" features:
The file and its usages have also been renamed to 'MTEHatchSteamBusInput' from 'MteHatchSteamBusInput', since it conflicted with the existing standard for MTEs.
Here is a video showcasing the new features:
https://github.com/user-attachments/assets/bafe3f34-2db2-41d5-9f79-509f2d6a08d3