From 2c7a244666f5d9b30dd82b262fe757ddec17ba00 Mon Sep 17 00:00:00 2001 From: CrazyCloudCraft | Argantiu <95505222+CrazyCloudCraft@users.noreply.github.com> Date: Mon, 10 Oct 2022 09:31:59 +0200 Subject: [PATCH] Update WorldCreateEvent.java --- .../java/de/butzlabben/world/event/WorldCreateEvent.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/de/butzlabben/world/event/WorldCreateEvent.java b/src/main/java/de/butzlabben/world/event/WorldCreateEvent.java index adefb7a..16fd8d6 100644 --- a/src/main/java/de/butzlabben/world/event/WorldCreateEvent.java +++ b/src/main/java/de/butzlabben/world/event/WorldCreateEvent.java @@ -49,5 +49,11 @@ public class WorldCreateEvent extends WorldEvent { public void setWorldCreator(WorldCreator worldCreator) { this.worldCreator = worldCreator; } + public class PaperLib { + public static CompletableFuture getChunkAtAsync(Location loc); + public static CompletableFuture getChunkAtAsync(Location loc, boolean gen); + public static CompletableFuture getChunkAtAsync(World world, int x, int z); + public static CompletableFuture getChunkAtAsync(World world, int x, int z, boolean gen); + } }