geforkt von Mirrors/Paper
25 Zeilen
904 B
Diff
25 Zeilen
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
|
|
}
|