add ProtoWorld#getWorld

This commit is contained in:
dfsek committed 2021-11-28 11:36:29 -07:00
1 parent b880b6592b
commit 5ed7733320
2 files changed
+15

No files matched your search

@@ -1,5 +1,6 @@
package com.dfsek.terra.api.world.chunk.generation;
import com.dfsek.terra.api.world.access.World;
import com.dfsek.terra.api.world.access.WorldAccess;
@@ -7,4 +8,12 @@ public interface ProtoWorld extends WorldAccess {
int centerChunkX();
int centerChunkZ();
/**
* Get the world object this ProtoWorld represents
*
* <b>Do not read from/write to this world!</b>
* @return The world
*/
World getWorld();
}