Skip to content

Colorwheel

BonsUnleashed edited this page Oct 7, 2026 · 3 revisions

Colorwheel

Minecraft 1.20.1 / Forge: this page documents that build and its measurements. For the separate 170-control Minecraft 1.21.1 port, see Minecraft 1.21.1 NeoForge.

One control for Colorwheel 1.3.0+mc1.20.1 (mod id colorwheel), client-side: the 26 render-phase debug labels are built once and reused. Colorwheel is LGPL-3.0; the one patched method is carried as a modified copy. The switch checks the code it would change against the tested build; another build is left untouched with one WARN line (see How the patches are applied).

Key Target Side Since Kind Result
colorwheel_phase_labels Colorwheel 1.3.0+mc1.20.1 CLIENT 1.0.23 opt 81-141 → 1.5-9 ns per phase change

colorwheel_phase_labels

Since: 1.0.23 · Side: CLIENT · Mixin: PhaseLabelMixin · Helper: bons.furious.patch.colorwheel.PhaseLabels Patched: dev.djefrey.colorwheel.ClrwlDrawManager.setPhase

What upstream did. Colorwheel rebuilt the debug label of its render phase with three string operations on every Flywheel phase change.

What the patch does. Each of the 26 labels is built once, with the same expression, and reused. The method body is otherwise Colorwheel's own (LGPL-3.0).

What stays the same. All 26 labels, checked against the original expression; loaded and exercised in the 1.0.23 client run.

Measured. 81-141 → 1.5-9 ns per phase change (1.6 MB/s of allocation before).

Bons and Furious

Minecraft 1.20.1 / Forge 1.0.34

Compatibility

Controls by mod

Links

Clone this wiki locally