refactor: Hydraulic Fracker UI and Efficiency Rework#122
Open
LoseUFaith wants to merge 6 commits into
Open
Conversation
MagicSweepy
requested changes
Jul 6, 2026
| @@ -242,15 +265,21 @@ class MultiblockHydraulicFracker(id: ResourceLocation, private val tier: Int) | |||
| } | |||
|
|
|||
| private fun replenishVein(simulate: Boolean): Boolean | |||
Member
There was a problem hiding this comment.
Short cut this method by Kotlin default parameter, just like replenishVein(simulate: Boolean, multiplier: Int = 1).
|
|
||
| guiSyncManager.syncValue("veinRemaining", veinValue) | ||
|
|
||
| templateBars.add { bar -> bar |
Member
There was a problem hiding this comment.
Maybe we can use it instead of specific lambda name?
| gtlitecore.machine.hydraulic_fracker.tooltip.2=§e能量消耗:§f%s EU/t | ||
| gtlitecore.machine.hydraulic_fracker.tooltip.2=提供至多§f%s倍§7的基础能量输入来提高压裂压力 | ||
| gtlitecore.machine.hydraulic_fracker.tooltip.3=§e基础能量消耗:§f%s EU/t | ||
| gtlitecore.machine.hydraulic_fracker.tooltip.4=输入每增加§f%s EU/t§7,效率都将提升§f100%%§7 |
This file contains hidden or 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
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.
Reworked Hydraulic Fractor, with new UI display and add ability to consume up to 20x of it's original working voltage to boost the replenish progress.
