Skip to content

GulgDev/Cubent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published