tambetm / gym-minecraft

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

Reset performance #9

Closed Nicolas99-9 closed 7 years ago

Nicolas99-9 commented 7 years ago

I have a problem with reset, I'm using the eating_1.xml mission. Each time I reset the environment my inventory is cleared but the items (the food) are not erased so after a few iteration the map is fulled by thousands of fruits. I could use forceWorldReset() but it's very slow. How to fully reset the map or avoid the spawning of already present fruits

tambetm commented 7 years ago

I think forceWorldReset is your only option. There is init() parameter for this, see Configure.