Is just a framework for Minecraft Forge which allows for mods to be scripted, in languages such as for example JavaScript.

Is just a framework for Minecraft Forge which allows for mods to be scripted, in languages such as for example JavaScript.

JavaScript scripts are executed with this customized fork of Mozilla’s Rhino collection. Our custom fork supports numerous ES6 and ESNEXT features. For the (nearly) complete feature list,check our compatibility dining table;

To setup ct.js, all you need to do is put the ct.js jar into your mods folder, and launch Minecraft. By default, ct.js modules are stored in, but this is changed within the configuration. To access the ct.js settings, type /ct settings in game. The remainder with this tutorial will refer to this directory while the “modules directory”, and certainly will assume it is within the standard location.

Developing a module

dating naked shark bait & heart breaks

To make a module, produce a folder in your modules folder. The folder can have whatever name you would like, but typically it’s simply the true name of this module. Continue reading