Tags
Creators
Details
2.4.0
Compatibility
Required content
Changes
DO NOT DOWNLOAD THIS VERSION (v2.4.0) - HAS STARTUP ERRORS!
Please download and use v2.4.1 instead!
New features:
Base Conversion Functions: (#8):
hex(x)→ Formats output in Hexadecimal:hex(255)=0xFFbin(x)→ Formats output in Binary:bin(10)=0b1010oct(x)→ Formats output in Octal:oct(63)=0o77
Bitwise Operators: (#8):
&(AND),|(OR),~(NOT),<<(Left Shift),>>(Right Shift),xor(a, b)- Examples:
0b1010 & 0b1100=8,0x0F << 4=240,~0=-1
Interactive Click-to-Copy Chat Results: (#8):
- Hover over
/calcresults in chat to see tooltip instructions. - Click the result text to instantly copy the unformatted number to your clipboard!
New Math Helper Functions: (#8):
avg(a, b, c, ...): Calculate average of multiple numbers (avg(10, 20, 30)=20).pct(part, total): Calculate ratio percentage (pct(50, 200)=25).gcd(a, b)/lcm(a, b): Greatest common divisor and least common multiple.clamp(val, min, max): Restrict a number between bounds.
Persistent Custom Variables: (#8):
- Variables created with
/calcsetare now automatically saved innotenoughcalculator.jsonand persist across game restarts!
Extended Minecraft Version Support: (#8):
- Compatible with Minecraft 26.1, 26.1.1, 26.1.2, 26.2, and newer (Fabric API 0.144.0+, REI 26.1.818+, ModMenu 18.0.0+).
Full Version Backport & Support: (#8):
- All features introduced in versions 2.0.1–2.3.0 (previously available only for Minecraft 26.2) can now be used on Minecraft 26.1, 26.1.1, 26.1.2, 26.2, or newer!
Expanded Test Suite: (#8):
- Test suite expanded to 291+ automated unit tests covering all operators, functions, and heuristics.
Full Changelog: https://github.com/Rijzzz/NotEnoughCalculator/compare/v2.3.0...v2.4.0
All features/improvements in this release were contributed by @LazeXD (#8).
Optional dependencies
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:dkEP7NUX:npqu5dDk"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:dkEP7NUX:npqu5dDk"
}

