tambetm / gym-minecraft

Minecraft environment for Open AI Gym, based on Microsoft's Malmo.
272 stars 29 forks source link

Is it possible to use my own XML environment? #14

Closed JunhongXu closed 7 years ago

JunhongXu commented 7 years ago

The environments provided in gym include several tasks defined in Project Malmo. It should be more interesting if we can add our own environments.

tambetm commented 7 years ago

Sure, hidden under the hood are two environment methods: env.load_mission_file(file_path) and env.load_mission_xml(xml). There is very basic documentation here: https://github.com/tambetm/gym-minecraft/wiki/Configure#additional-methods