All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy