diff --git a/src/main/java/me/cortex/voxy/api/VoxyApi.java b/src/main/java/me/cortex/voxy/api/VoxyApi.java new file mode 100644 index 00000000..77f50a91 --- /dev/null +++ b/src/main/java/me/cortex/voxy/api/VoxyApi.java @@ -0,0 +1,28 @@ +package me.cortex.voxy.api; + +import me.cortex.voxy.common.world.WorldSection; + +public class VoxyApi { + private VoxyApi(String useIdentifier) { + + } + + public static VoxyApi makeAPI(String identifier) { + return new VoxyApi(identifier); + } + + public interface ArbitraryGenerateCallback { + int ALL_DARK = -1; + int OK = 0; + int ALL_SKY = 1; + int generate(int lodLevel, int x, int y, int z, long[] outputBuffer); + } + + public void setArbitraryGenerator(ArbitraryGenerateCallback generator) { + + } + + public WorldSection acquireSection(int level, int x, int y, int z) { + return null; + } +}