In this work, we exploit the open-source framework Malmo to build an Artificial Intelligence connected to the popular computer game Minecraft. We explore planning methods with hierarchical actions to control the main character and achieve predefined goals.
Please refer to the project report for further details.
Complex structure built by our agent
-
Download the pre-built version 0.30.0 of Malmo, for Windows, Linux or MacOSX.
-
Navigate to the downloaded folder and clone this repository in it.
- Open a Powershell and run:
Set-ExecutionPolicy -Scope CurrentUser Unrestricted
path:\Malmo-0.30.0-Windows-64bit\scripts
.\malmo_install.ps1
Refer to this guide for details.
- Run the script
scripts/install_macosx.sh
Refer to this guide for details.
- Follow the instructions here.
In order to run the agent, first start a Minecraft instance and wait for it to load completely, then run the included MalmoAgent.jar with this command:
java -cp MalmoAgent.jar;. main.JavaAgent
If you wish to compile the project yourself, all of the source files are contained in this repository, including the libraries.
Johnson M., Hofmann K., Hutton T., Bignell D. (2016) The Malmo Platform for Artificial Intelligence Experimentation. Proc. 25th International Joint Conference on Artificial Intelligence, Ed. Kambhampati S., p. 4246. AAAI Press, Palo Alto, California USA. https://github.com/Microsoft/malmo
This work is released under the MIT license. See LICENSE
for more information. Notice that some dependencies are bundled with this project, but are under terms of separate licenses.