Skip to content

SPL-BGU/PDDL-Minecraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDDL Problem Generator for Minecraft Domain

License: MIT Python Version Code style: black

Getting Started

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.

Dependencies

pip install all the requirements for this project:

python -m pip install -r requirements.txt

Usage

How to reproduce the results from the paper

  1. The original domain and problem are located in the directory:
planning/
  1. 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

Citations

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}
}

About

PDDL2.1 problem generator for Minecraft domain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published