This project is still under development.
A language designed to help you develop Minecraft datapacks faster.
(Note: This project is currently under active development.)
We are excited about Deco, but please note that the core components are still evolving. Consequently, a dedicated cli has not yet been implemented.
To experiment with Deco, you will need the .NET SDK installed.
- Open
Program.cs. - Locate the
RunTestmethod. Inside this method, you will find a block containing an example Deco code string. - Replace the example code with your own Deco code.
- Update the output path specified in
DatapackExporter.Exportbelow the code block. - Run the project from your terminal:
dotnet run
The generated datapack will be placed in the specified output directory.
It is highly recommended to test the output in Minecraft 1.21, as Deco does not yet support multi-version compilation.
The built-in print function currently only accepts a single argument of the int type.