Being a programmer doing tedious tasks always make me want to script it.
Is there a way to intelligently script Minecraft, reacting to the surroundings. Something like do this sequence of digging until something interesting happens?
|
Being a programmer doing tedious tasks always make me want to script it. Is there a way to intelligently script Minecraft, reacting to the surroundings. Something like do this sequence of digging until something interesting happens? |
|||||||||
|
|
In terms of automation, I've found quite a few interesting articles concerning using Autohotkey with Minecraft. Here's a nice forum thread for example. Obviously this isn't enough to react to what's happening in the game, the only way to do that is via a mod (I can't find any scripting mods), but it'll still allow for longer Minecraft sessions before the RSI kicks in. |
|||
|
|
|
The only possibility I know of would by Scripting via the mod WorldEdit (available both SSP and SMP via bukkit). It's using JavaScript for Scripts. You can of course also figure out modding itself, using Java, which allows you to do anything. But be aware that Notch apparently re-obfuscates the code from version to version... |
|||||||||||||||||||||
|
|
There is no scripting interface for Minecraft, however Notch mentioned he plans to add support for official mods which then you can make Minecraft do whatever you want, even to the point of writing your own scripting engine. |
|||||||
|
|
Not really. You could try making a mod that adds a scripting interface, but I'm pretty sure it would require enough code that it would make more sense to just do the stuff yourself. You might want to check out the MineColony mod if you just want resources gathered. |
||||
|
|
|
Without an official and stable modding api, much effort for similar goals is wasted on reverse engineering and clearing up the messy architecture. Golem was an attempt at creating such automation but it is broken because Notch changes stuff. Things will be much better if Notch releases his modding api. |
|||
|
|
|
You can run a local server, install Bukkit, and code in Java against that. Bukkit's a fairly flexible platform, but anything written against it will be a server-side plugin not client-side. The distinction's a bit blurry when you're playing alone, so this might not give you everything you want to be able to do. |
|||
|
|