Slashdot Mirror


JavaScript Comes To Minecraft

mikejuk writes "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. 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 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."

5 of 149 comments (clear)

  1. Nerd antennae went up by iluvcapra · · Score: 5, Funny

    I saw the headline and half expected that someone had in fact implemented a Javascript interpreter with MineCraft.

    --
    Don't blame me, I voted for Baltar.
    1. Re:Nerd antennae went up by Fallingcow · · Score: 4, Funny

      Javascript running via a 3D world written in Java would have a Lovecraftian madness-inducing quality. You'd take one look at it and start bleeding from the eyes while producing an inhuman scream, before vomiting up most of your internal organs.

      I mean, either of those things (Javascript, or a 3D world written in Java) are capable of getting you half way there all on their own. Both cannot exist, yet they do. Even thinking of the two being combined is enough to PH'NGLUI MGLW'NAFH CTHULHU R'LYEH WGAH'NAGL FHTAGN **carrier lost**

    2. Re:Nerd antennae went up by vlm · · Score: 4, Funny

      I'd much rather see a java implementation using lots and lots of redstone. Then you could theoretically run minecraft on minecraft in infinite regression. This could cause the end of the world so I'd be careful.

      --
      "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
    3. Re:Nerd antennae went up by Bigbutt · · Score: 4, Funny

      "How did he type **carrier lost**"

      "Perhaps he was dictating it."
      "Shut-up"

      [John]

      --
      Shit better not happen!
  2. Re:Why wont JS just go away by larry+bagina · · Score: 4, Funny

    Haven't fixed it, won't fix it.

    >>> from __future__ import braces
    File "", line 1
    SyntaxError: not a chance

    --
    Do you even lift?

    These aren't the 'roids you're looking for.