Skip to content

provide in-memory world implementation (MapWorldProvider) #60

Open
@keturn

Description

@keturn

While converting some tests from WorldProvidingHeadlessEnvironment to ModuleTestingEnvironment, I discovered that WPHE uses MapWorldProvider, which generates chunks on demand.

There might be a handful of modules providing large-scale features that need to deal with the intricacies of chunk loading, and they should be able to use the default WorldProvider so they don't get a false sense of security. But I think most tests for most modules are only interested a small area, and this on-demand behavior would make things much easier for them. It would eliminate the need for them to use things like forceAndWaitForGeneration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Size: MMedium-sized effort likely requiring some research and work in multiple areasType: ImprovementRequest for or addition/enhancement of a feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions