mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-17 06:48:23 +01:00
SPIGOT-7128: ChunkGenerator#shouldGenerateBedrock doesn't work
By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
parent
bcc7b10e0c
commit
6ac3e7166b
1 changed files with 2 additions and 3 deletions
|
@ -44,7 +44,6 @@ import org.jetbrains.annotations.Nullable;
|
|||
* <ul>
|
||||
* <li>{@link ChunkGenerator#shouldGenerateNoise()}</li>
|
||||
* <li>{@link ChunkGenerator#shouldGenerateSurface()}</li>
|
||||
* <li>{@link ChunkGenerator#shouldGenerateBedrock()}</li>
|
||||
* <li>{@link ChunkGenerator#shouldGenerateCaves()}</li>
|
||||
* <li>{@link ChunkGenerator#shouldGenerateDecorations()}</li>
|
||||
* <li>{@link ChunkGenerator#shouldGenerateMobs()}</li>
|
||||
|
@ -122,8 +121,6 @@ public abstract class ChunkGenerator {
|
|||
* Y-coordinate range use the methods {@link ChunkData#getMinHeight()} and
|
||||
* {@link ChunkData#getMaxHeight()}.
|
||||
* <p>
|
||||
* If {@link #shouldGenerateBedrock()} is set to true, the given
|
||||
* {@link ChunkData} contains already the Vanilla bedrock generation.
|
||||
*
|
||||
* @param worldInfo The world info of the world this chunk will be used for
|
||||
* @param random The random generator to use
|
||||
|
@ -404,7 +401,9 @@ public abstract class ChunkGenerator {
|
|||
* called.
|
||||
*
|
||||
* @return true if the server should generate Vanilla bedrock
|
||||
* @deprecated has no effect, bedrock generation is part of the surface step, see {@link #shouldGenerateSurface()}
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean shouldGenerateBedrock() {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue