Fix the level API events
This commit is contained in:
+2
-1
@@ -20,12 +20,13 @@
|
||||
package com.seibel.lod.core.api.external.coreImplementations.interfaces.wrappers.world;
|
||||
|
||||
import com.seibel.lod.core.api.external.coreImplementations.interfaces.wrappers.ICoreDhApiUnsafeWrapper;
|
||||
import com.seibel.lod.core.wrapperInterfaces.world.ILevelWrapper;
|
||||
|
||||
/**
|
||||
* Can be either a Server or Client level.
|
||||
*
|
||||
* @author James Seibel
|
||||
* @version 2022-9-7
|
||||
* @version 2022-9-10
|
||||
*/
|
||||
public interface ICoreDhApiLevelWrapper extends ICoreDhApiUnsafeWrapper
|
||||
{
|
||||
|
||||
@@ -32,7 +32,7 @@ import com.seibel.lod.core.wrapperInterfaces.chunk.IChunkWrapper;
|
||||
* Can be either a Server world or a Client world.
|
||||
*
|
||||
* @author James Seibel
|
||||
* @version 3-5-2022
|
||||
* @version 2022-9-10
|
||||
*/
|
||||
public interface ILevelWrapper extends IBindable
|
||||
{
|
||||
@@ -48,12 +48,9 @@ public interface ILevelWrapper extends IBindable
|
||||
|
||||
int getHeight();
|
||||
|
||||
default short getMinHeight()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
default short getMinHeight() { return 0; }
|
||||
|
||||
default IChunkWrapper tryGetChunk(DHChunkPos pos) {return null;}
|
||||
default IChunkWrapper tryGetChunk(DHChunkPos pos) { return null; }
|
||||
|
||||
boolean hasChunkLoaded(int chunkX, int chunkZ);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user