PDA

View Full Version : JavaScript Comes To Minecraft



wraggster
January 21st, 2013, 21:38
JavaScript is the language of the client and it is becoming the language of the server. Now it seems set to be the language of Minecraft (http://www.i-programmer.info/news/167-javascript/5359-javascript-comes-to-minecraft.html). ScriptCraft is a Minecraft mod that can be added to the game to allow the player to use JavaScript commands. Walter Higgins ported the Rhino JVM implementation of JavaScript in a few spare weeks over Xmas. Some additional JavaScript classes allow the construction of blocks making it possible to automate construction. It also provides a 'turtle like' drone class that makes it easier to move in 3D. It makes use of a fluent API to create a domain specific language for movement. As its creator says: 'Ultimately I think the ScriptCraft mod (https://github.com/walterhiggins/ScriptCraft/) could be used to take building in Minecraft to a whole new level. With a full-blown language at the Player's disposal, it should be possible to create not just castles and forts but entire road networks and cities.' Most importantly of all, it not only pushes the boundary of Minecraft it also provides a way to get kids who are already hooked on Minecraft to start learning JavaScript."

http://games.slashdot.org/story/13/01/21/1843232/javascript-comes-to-minecraft