90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Set Ī€ to any value, globally.

Usage:

/setpi <value> # sets the current value of pi anywhere that it can be found
/setpiclient [value] # same as above but when on servers

/getpi # gets the value of pi
/getpiclient [value] # same as above but when on servers

Warning! Servers' anticheat may ban you as your movements will be sporadic

Why the name ImĪ€rium?

Imperium is Latin for control, this mod allows you to control Ī€, so ImĪ€rium

Is this mod compatible with X?

Probably, this should only affect mods that directly target literal Ī€ constants.

If some mod does crash while you have ImĪ€rium installed, remove ImĪ€rium, it is very invasive.

How Does This Work?

In simple terms, every time some code is loaded into the game it scans everything in that code for literal representations of Ī€, half Ī€, quarter Ī€, 2x Ī€ (aka Tau), negative Ī€, etc. It replaces it with a reference that can be set via /setpi, allowing you to change the value of Ī€ everywhere, including in other mods.

Yes, this is invasive, and yes this may break other mods, no there is no other way to do this.


Project members

Bawnorton

Member

Details

Licensed MIT
Published 10 months ago
Updated 9 months ago