Tags
Creators
Details
2.3.0
Compatibility
Required content
Changes
New features:
NEU-Style [NEC] Chat Prefix & Green Formatting (#5):
/calcchat outputs are now prefixed with a blue[NEC]tag (§9[NEC]) matching NEU calculator formatting.- Calculation results in chat are now displayed in green (
§a). - Example:
[NEC] 1+1 = 2
Number Literal Support (#6 by @ninjaguardian):
- Added support for Binary (
0b), Hexadecimal (0x), and Octal (0o) literals: - Binary:
0b1010= 10,0B1101= 13 - Hexadecimal:
0xFF= 255,0xa1b= 2587 - Octal:
0o77= 63,0o511= 329 - Underscores allowed between digits:
0b1010_0001= 161 - Full arithmetic & function support:
0b10 + 0xA + 0o10= 20,sqrt(0x64)= 10
[NEC] 1+1 = 2
[NEC] 0b1010 = 10
[NEC] 0xFF = 255
[NEC] (0b1101! - 0o6_6^0x5) % 0XAaA0B = 607244
Improvements & Fixes:
- Added @ninjaguardian to
fabric.mod.jsoncontributors list. - Enforced strict token adjacency to prevent spaced inputs (e.g.
0 b10) from misparsing. - Strict out-of-range digit validation (e.g.
0b102or0o78properly throws an invalid number error). - Added
/calchelp operatorsentry for number literals. - Expanded automated test suite to 216 tests covering all literal edge cases and heuristics.
Full Changelog: https://github.com/Rijzzz/NotEnoughCalculator/compare/v2.2.0...v2.3.0
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:N9wj3BQG"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:dkEP7NUX:N9wj3BQG"
}

