GulgDev / Cubent

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cubent

Cubent

Cubent is programming language for creating minecraft datapacks.

File structure

Cubent file starts with imports and contains namespaces, load & tick blocks:

import foo.bar as far;
import foo.baz;

namespace boo {
    // Functions
}

load {
    // Load datapack
}

tick {
    // Run every tick
}

Inside the namespace block you can define functions:

namespace boo {
    function faz(arg: String): Void {
        // Code here
    }
}

Compiling

Download the compiler and use cubent -h to get started.

About


Languages

Language:Python 99.9%Language:mcfunction 0.1%