Update WorldCreateEvent.java

This commit is contained in:
CrazyCloudCraft | Argantiu 2022-10-10 09:31:59 +02:00 committed by GitHub
parent 9f05232fed
commit 2c7a244666
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,5 +49,11 @@ public class WorldCreateEvent extends WorldEvent {
public void setWorldCreator(WorldCreator worldCreator) {
this.worldCreator = worldCreator;
}
public class PaperLib {
public static CompletableFuture<Chunk> getChunkAtAsync(Location loc);
public static CompletableFuture<Chunk> getChunkAtAsync(Location loc, boolean gen);
public static CompletableFuture<Chunk> getChunkAtAsync(World world, int x, int z);
public static CompletableFuture<Chunk> getChunkAtAsync(World world, int x, int z, boolean gen);
}
}