Fix maintenance not happening as often as intended#3740
Merged
Ghostipedia merged 3 commits into1.20.1from Sep 14, 2025
Merged
Conversation
gustovafing
previously requested changes
Aug 18, 2025
src/main/java/com/gregtechceu/gtceu/api/machine/feature/multiblock/IMaintenanceMachine.java
Outdated
Show resolved
Hide resolved
serenibyss
commented
Sep 14, 2025
| "How often to check for maintenance, rolling a 1/6000 chance every X ticks (before secondary effects like Configurable Maintenance Hatch).", | ||
| "In default settings, this equates to a 5% chance every hour of a machine running.", | ||
| "Default: 1000 (ticks)" }) | ||
| public int maintenanceCheckRate = 1000; |
Member
Author
There was a problem hiding this comment.
I purposefully renamed this since:
- It serves a very different purpose mathematically compared to before
- The old default value of this config would lead to an even less likely chance of maintenance occurring than before with the old math
Ghostipedia
approved these changes
Sep 14, 2025
LeoDreamer2004
pushed a commit
to LeoDreamer2004/GregTech-Modern
that referenced
this pull request
Dec 20, 2025
Co-authored-by: Ghostipedia / Caitlynn <46772882+Ghostipedia@users.noreply.github.com>
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.
Incorporates the fixes from GregTechCEu/GregTech#1894
Closes #998