mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 15:30:19 +01:00
24 lines
904 B
Diff
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
|
|
}
|