Commander has been archived. Commander will not receive any further updates unless the author decides to unarchive the project.
Compatibility
Minecraft: Java Edition
1.21.x
1.20.4
1.20.1
Platforms
Fabric
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Details
Changelog
What's New:
User Changes:
- Added the (data pack) expression library!
This feature allows adding common expressions to a library where each is identified using an Identifier.
{
"replace": false, // Can be omitted.
"expressions": {
"test:cool_expression": "score * 2.5",
"test:boolean_expression": "level.isDay && !level.isRaining"
}
}
Later on, these expressions can be evaluated inside other expressions using the library container, like so:
sqrt(library.my_id:some_value) * library.my_id:other_value
Or in execute
/scoreboard
brigadier commands using cmd:library
.
Prefer using the library in Brigadier commands!
It does not require parsing the expression in-place!
- Brigadier macros in JSON commands should now correctly fail on dangling braces.
Dev Changes:
- Added more javadoc to the
api
package. - Removed
evalex
andmapping-io
from pom.xml - Added
LongExpression
. Similar toArithmetica
andBooleanExpression
, but for longs! - Tried to fix expression equality.
- Added missing 'parameter' methods to
Arithmetica
,BooleanExpression
andBrigadierMacro
. - Added
Expression.Result#NULL
.
Other Changes:
- The mod should now fail with slightly better error messages.
- Inlined constant
BooleanExpression
instances.
Files
Metadata
Release channel
BetaVersion number
0.9.0-1.21-build.24Loaders
Game versions
1.21–1.21.1Downloads
203Publication date
August 6, 2024 at 7:18 PMPublisher
melontini
Author