Compatibility
Minecraft: Java Edition
1.21
1.20.x
1.19.4
Platforms
Data Pack
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Details
Licensed GPL-3.0-or-later
Published last year
Updated 4 months ago
Changelog
[0.3.0] - 2023-11-26
Overhauled the entire language.
Added
- Custom Functions
- Function definitions
- Function calls
- return keyword
- Stdlib Functions
- random: to generate random numbers
- time: to get the current gametime
- Var keyword for global variables
- Assignment operators such as += and -=
- Booleans
- Constants
- Resource literal
- << and >> operators
- Objects can be indexed with dot (.) notation
- Other miscellaneous operators
Changed
- Rewrote all documentation
- Now contains every language feature
- Better documented and easier to understand
- Available here
- Many instructions are now built in functions
- You can now use functions such as getblock inside expressions
- $INVENTORY and $POS are now functions: inventory() and pos()
- pos() now returns an object, instead of an array
- inventory() now returns a array of resources, rather than strings
- Variables only exist within the scope that they are created
- Predicates updated to use 1.20 format
- The entire interpreter was re-written from the ground up
- It should now be far more reliable going forwards
- Place now takes a resource rather than a slot number
- Minus operator no longer removes items from objects/arrays
Fixed
- Regex matcher is now correctly passed a string's value
- Backslashes, unless escaping
/
, no longer need to be escaped themselves.
Files
Metadata
Release channel
ReleaseVersion number
0.3.0Loaders
Game versions
1.20–1.20.2Downloads
113Publication date
November 26, 2023 at 2:09 PMPublisher
GearsDatapacks
Co-Owner