Imπrium
by Bawnorton
Imπrium is a Fabric mod that replaces the value of π across the game code with a number chosen through a setpi command.
What it does
The mod works by scanning the code loaded at runtime for literal representations of constants and swapping them for a reference set with setpi, so a changed value can reach other mods as well. Its author describes it as invasive and warns that it may break other mods in the same way. Fabric API is required, and the mod is open source under the MIT License, published for 1.18 – 1.20.4 with its latest file for 1.20.4.
Key features
Set value command
A setpi command sets the value that replaces the constant in the loaded code.
Literal constant targeting
The change applies mainly to mods that reference the constant directly as a literal.
Fractional and negative values
Values such as half, quarter, 2x, tau and negative numbers can be used as the replacement.
Gallery
Compatibility
Latest build for each game version and loader.
1.20.x5 of 5 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Questions
Does Imπrium need Fabric API?
Can Imπrium break other mods?
In the catalog
Imπrium is one of 7,555 Cursed mods on ModsFinder, and one of 4,235 Cursed mods for Fabric. 13,907 mods support Minecraft 1.20.4.
More from Bawnorton
Similar mods
What the author says
Imperium is Latin for control, this mod allows you to control π, so Imπrium Probably, this should only affect mods that directly target literal π constants.
Official listing
- Modrinth page
- modrinth.com/mod/impirium
- Owner
- Bawnorton
- Published
- 2024-03-06
- Updated on Modrinth
- 2024-04-06
- Facts verified
- 2026-10-15
