Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

World creation needs a "force reset" flag #55

Closed
DaveyBiggers opened this issue Jun 7, 2016 · 2 comments
Closed

World creation needs a "force reset" flag #55

DaveyBiggers opened this issue Jun 7, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@DaveyBiggers
Copy link
Member

As an optimisation, Malmo won't recreate the Minecraft world unless it decides it's not suitable for the requested mission. The result is that changes introduced in one mission will carry over to the next. In many cases this is a non-issue (eg when the agent makes no changes to the environment), but there will often be situations where a full reset is desired between missions.

We should add a flag to the XML for:

  • FlatWorldGenerator
  • FileWorldGenerator
  • DefaultWorldGenerator
    to force world recreation.

[Implementation details: Flat/File/DefaultWorldGeneratorImplementation.shouldCreateWorld() should return true if this flag is set.]

@DaveyBiggers DaveyBiggers added the P2 label Jun 7, 2016
@DaveyBiggers DaveyBiggers added this to the Bison milestone Jun 7, 2016
@DaveyBiggers DaveyBiggers self-assigned this Jun 7, 2016
@katja-hofmann
Copy link
Member

Should also clear the inventory

@DaveyBiggers
Copy link
Member Author

Fixed in #85.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants