mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-19 06:40:12 +00:00
add ProtoWorld#getWorld
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user