CurseForge · Minecraft mod
Cotton Scripting API
JSR-223 compliant scripting in Minecraft 1.14
Quick answer
Which Cotton Scripting API release should I use?
Cotton Scripting API 1.2.0+1.14 targets 1.14.1, 1.14. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is Cotton Scripting API required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Cotton Scripting API 1.2.0+1.14 need?
1.2.0+1.14. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Cotton Scripting API without breaking your instance.
Built for Cotton Scripting API 1.2.0+1.14. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.2.0+1.14. It targets 1.14.1, 1.14; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.2.0+1.14. It opens that exact file at the source.
About this project
What does Cotton Scripting API add?
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.
Project description from CurseForge.
Pick your setup
Cotton Scripting API by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.14
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Cotton Scripting API versions and loaders
1.2.0+1.14
cotton-scripting-1.2.0+1.14.jar
12 May 2019
1.1.0+1.14
cotton-scripting-1.1.0+1.14.jar
11 May 2019
v1.0.0+1.14
cotton-scripting-1.0.0+1.14-SNAPSHOT.jar
9 May 2019
Looking for an older file? The official CurseForge project page is in Resources.