PaperMC/patches/api/Expose-vanilla-BiomeProvider-from-WorldInfo.patch
Nassim Jahnke aba71147db Finish API
2023-12-05 18:33:18 +01:00

24 lines
904 B
Diff

From 0000000000000000000000000000000000000000 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
diff --git a/src/main/java/org/bukkit/generator/WorldInfo.java b/src/main/java/org/bukkit/generator/WorldInfo.java
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
--- a/src/main/java/org/bukkit/generator/WorldInfo.java
+++ b/src/main/java/org/bukkit/generator/WorldInfo.java
@@ -0,0 +0,0 @@ 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
}