SpongePowered / SpongeAPI

A Minecraft plugin API
http://www.spongepowered.org/
MIT License
1.14k stars 342 forks source link

Add region files API #2466

Closed Faithcaio closed 11 months ago

Faithcaio commented 11 months ago

SpongeAPI | Sponge

Adds API to handle region files,

as discussed, adding access to offline chunks instead.

Yeregorix commented 11 months ago

Aren't regions an implementation detail? A custom implementation could theoretically stores worlds in a different format (not region based). It could even be in memory or in a database, without files.

pschichtel commented 11 months ago

@Yeregorix I fully agree, but the API already leaks this detail currently (ServerWorld.directory).