Skip to content

Repository files navigation

Create: Custom Gauges

A small NeoForge addon for Create (1.21.1) that adds a middle-click "type an exact amount" popup to Factory Gauges, bypassing the vanilla drag-bar picker's practical 100-stack range limit.

Why

Create's Factory Gauge target-amount picker is a linear drag-bar UI -- useful for small numbers, but impractical past ~100 stacks (the bar would need to be thousands of pixels wide to represent larger values). The underlying data has no such limit; Create's own network packet and storage logic accept arbitrary int values with no upper clamp. This mod adds a second input path that skips the drag-bar entirely for large or precise values.

Usage

Hold right-click on a Factory Gauge to open the normal picker, then middle-click while it's open. A small popup lets you type an exact number and choose whether it's interpreted as Items or Stacks (Create multiplies by the item's max stack size when Stacks is selected -- e.g. typing 5 on Stacks for a 64-stack item sets a threshold of 320 items).

Scoped specifically to Factory Gauges -- other blocks that reuse the same generic Value Settings board (funnels, the motor speed controller, the crank, etc.) are untouched.

Building

Requires Java 21.

./gradlew build

Output jar lands in build/libs/.

Compatibility

Built and tested against Create 6.0.10 for NeoForge 1.21.1. Uses a Mixin into Create's ValueSettingsScreen, so it's tied fairly closely to Create's internals and may need updates if Create's UI code changes significantly in future versions.

AI Disclosure

This mod was built with Claude (Anthropic) as a coding assistant -- pairing on the Mixin work, tracking down build/crash issues against Create's actual source, and working through the "Items vs Stacks" multiplier logic together. The design decisions, all testing (singleplayer and live-server), and everything shipped here were made and verified firsthand.

License

MIT -- see LICENSE.

About

Adds a middle-click custom amount entry popup to Create's Factory Gauge, allowing stockpile thresholds beyond the vanilla 100-stack cap.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages