Community listing page, reviews may not be monitored by the author.
Create: Factory Gauge Reload Fix
No reviews yet
Factory gauges stop ordering items you already have in stock right after a world or chunk loads (Create issue #8190).
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
Do your factory gauges send out a wave of packages every time you log in or come back to your base, even though everything is already in stock? This addon fixes that.
Fixes Create issue #8190. Not affiliated with the Create team. Please report bugs here.
What it fixes
When a world, dimension or chunk loads, a packager only finds the inventory it's attached to on its own first tick. On top of that, the network's stock count is cached for a second. If a factory gauge ticks before that, it sees less in stock than there really is and places an order. With many gauges that can mean hundreds of packages and a factory that runs for nothing.
With this addon, a gauge that has just loaded waits 2 seconds before it's allowed to order. Then it reads a fresh stock count. Gauges that are already running aren't affected.
Config
config/gauge_reload_fix.properties:
graceTicks: how long a freshly loaded gauge waits before it may order. The default is 40 ticks (2 seconds). Raise it on a slow server.enabled: turn the fix off without removing the mod.
If a Create update changes the code this addon hooks into, the fix switches itself off and logs a warning. It never stops your game from loading. Create plans to fix this bug in 6.0.11; once that's out we'll check it and update this page.
FAQ
Client or server? The server needs it (or your game, in singleplayer). Players don't need it to join.
Does it need anything else? Create 6.0 for Minecraft 1.21.1, on NeoForge.
How is it tested? A game test sets up a factory gauge that makes stone from cobblestone, on a network whose chest already holds 64 of each. It reloads the gauge and the chest's packager from their saved data, the way a chunk load does, and checks that nothing gets ordered. The same test with the fix turned off checks that the bug does happen, so we know the test can actually catch it. A third test empties the chest and checks that the gauge still orders when it should.
Can I use it in my modpack? Yes, go ahead, no need to ask.
MIT. Developed with AI assistance. Source: https://github.com/traelmyx/factory-gauge-reload-fix
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Get it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources