Skip to content

DavidGoldman/MinecraftScripting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

In-Game MCEdit Filters & Scripts

Forum Link: http://www.minecraftforum.net/topic/1951378-/

If you're trying to clone this repo, be sure to install the following dependencies:

This mod adds Javascript support to Minecraft via Mozilla Rhino.

  • Users can run regular scripts (extension .js) in-game on either the client or server.

  • To start/stop these scripts, press the binded key (default F7) to open the mod's GUI.

  • Support for these regular scripts is currently in the works - they are lacking a lot of features at the moment.

  • Users can also run filter scripts (extension .filter) which can directly modify the minecraft world. Think of them as a map-making tool - they can modify blocks, entities, and tile entities. Some filters are included with the mod by default.

  • Scripts are currently saved in the "/scripts/client" and "/scripts/server" folders which can be found in the user's minecraft directory.

  • To see what functions are available to the scripts, check out all of the classes inside the "scripting.wrapper" package. Note that some of the class names may be abbreviated to the scripts - check "scripting.ScriptingMod.java" to see which classes have shortened names.

Build Instructions:

  • Download the dependencies mentioned above along with this mod
  • Download the Forge src. Be sure to get the correct version!
  • Extract the Forge src to a desired workspace-containing folder
  • Navigate into the forge folder and run the correct install file for your system
  • Once the installer finishes, your Forge workspace is set up at "extract-dir/forge/mcp/"
  • You can place the source files for all dependencies and this mod inside the "src/minecraft/" folder found in the workspace
  • To build in eclipse, select the "eclipse" folder found in the workspace ("extract-dir/forge/mcp/eclipse")

About

Javascript Rhino support for Minecraft

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages