Minecraft Cotton Scripting API mod 2026 download
logo
minecraft mod Cotton Scripting API

Cotton Scripting API

Game Version: 1.14.1
Total Downloads: 717
Updated: May 12, 2019
Created: May 9, 2019
Download Cotton Scripting APIDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
1.2.0+1.14 release 250.08 KB May 12, 2019 1.14.1 611 download Cotton Scripting API 1.2.0+1.14 releaseDownload
1.1.0+1.14 release 247.99 KB May 11, 2019 1.14 60 download Cotton Scripting API 1.1.0+1.14 releaseDownload
v1.0.0+1.14 release 233.42 KB May 9, 2019 1.14 46 download Cotton Scripting API v1.0.0+1.14 releaseDownload

Description

Share this:

This project requires Fabric.

 

Cotton Scripting allows you to run scripting languages from data packs. This means you can use JavaScript, Python, Lua, Ruby, and more to program server-side experiences similar to vanilla functions. 

 

Disclaimer: Currently, the environment for scripting is "bring your own interpreter". Cotton Scripting does not add any interpreters on its own, but JavaScript support is natively included in Java, and support for other languages can be added through add-on mods. Multiple interpreter add-ons are planned for release soon.

 

To add a script, put it in a datapack in the "data/<namespace>/scripts" folder. Run a /reload on the server side and it will be ready to call. Use the /script command as an op or from a command block to run a script.

 

 

For more detailed information, please view the wiki.

Comments

Add a comment