Description
JavaScript Commands
This is a small lightweight mod that uses the JsCraft API to allow JavaScript code to be run ingame using a command. This is fully compatible with command blocks, meaning that more complex mechanisms can be created with greater ease.
How to use it
To use JavaScript ingame, the '/javascript' command can be used; anything after it will be executed. It makes use of the JsCraft API, meaning that full wrappers around many of the things in Minecraft are provided. Documentation for the API can be found here.
Installation
To install this mod, you'll need JsCraft. Once you have that installed, you simply need to extract the 'Javascript Commands' folder from inside the ZIP provided and place it in the 'js/mods' directory in your '.minecraft' folder:



