Cotton Scripting API
Minecraft Java mod. Downloads from the MC Java Mods app on Android.
⬇ Download on CurseForgeThis 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.
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on CurseForge — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as cotton-scripting-1.2.0+1.14.jar — drop this file into the mods folder
- Download size: 250 KB
- Download link checked 13 Oct 2026 — working
These come from our own check of the pack file, not from the source page.