In this project, you will generate PDDL2.1 Minecraft maps. The output includes two versions of the same task - basic (item counts model) and advanced (all blocks model) and you can read more about them in this link.
pip install all the requirements for this project:
python -m pip install -r requirements.txt
- The original domain and problem are located in the directory:
planning/
- To generate new maps (to dataset directory) just run:
python constructor.py
required options:
-h, --help show this help message and exit
--map_size int Size of the map (must be >= 6)
--num_maps int Number of maps to generate
--task {0,1} Task type: 0 for WoodenSword, 1 for PogoStick
You can change the starting item range in the config.json file
If you find our work interesting or the repo useful, please consider citing this paper:
@article{benyaminsolving,
title={Solving Minecraft Tasks via Model Learning},
author={Benyamin, Yarin and Mordoch, Argaman and Shperberg, Shahaf and Stern, Roni},
booktitle={PRL Workshop Series - Bridging the Gap Between AI Planning and Reinforcement Learning},
year={2024}
}