Merge branch 'breaking' into breaking-114

This commit is contained in:
Jesse Boyd
2019-07-11 08:08:55 +10:00
94 changed files with 887 additions and 1160 deletions

View File

@ -38,6 +38,9 @@ import com.sk89q.worldedit.world.block.BlockStateHolder;
import com.sk89q.worldedit.world.block.BlockType;
import com.sk89q.worldedit.world.weather.WeatherType;
import javax.annotation.Nullable;
import java.nio.file.Path;
/**
* Represents a world (dimension).
*/
@ -50,11 +53,21 @@ public interface World extends Extent {
*/
String getName();
/**
* Get the folder in which this world is stored. May return null if unknown
* or if this world is not serialized to disk.
*
* @return world storage path
*/
@Nullable
Path getStoragePath();
/**
* Get the maximum Y.
*
* @return the maximum Y
*/
@Override
int getMaxY();
/**