io.papermc.lib.features.asyncchunks.AsyncChunks Maven / Gradle / Ivy
package io.papermc.lib.features.asyncchunks;
import org.bukkit.Chunk;
import org.bukkit.World;
import java.util.concurrent.CompletableFuture;
public interface AsyncChunks {
default CompletableFuture getChunkAtAsync(World world, int x, int z, boolean gen) {
return getChunkAtAsync(world, x, z, gen, false);
}
CompletableFuture getChunkAtAsync(World world, int x, int z, boolean gen, boolean isUrgent);
}