From 3d42540191d2f86ceeb6f6f6d35b4f2fe748ac5f Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Thu, 6 Jan 2022 15:56:16 -0800 Subject: [PATCH] Expose vanilla BiomeProvider from WorldInfo --- .../src/main/java/org/bukkit/generator/WorldInfo.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/generator/WorldInfo.java b/paper-api/src/main/java/org/bukkit/generator/WorldInfo.java index 5bf00f46e8..5067f13714 100644 --- a/paper-api/src/main/java/org/bukkit/generator/WorldInfo.java +++ b/paper-api/src/main/java/org/bukkit/generator/WorldInfo.java @@ -57,4 +57,13 @@ public interface WorldInfo { * @return Maximum height of the world */ int getMaxHeight(); + + // Paper start + /** + * Get the vanilla {@link BiomeProvider} for this world. + * + * @return vanilla biome provider + */ + @NotNull BiomeProvider vanillaBiomeProvider(); + // Paper end }