Remove deprecated bedrock option

This commit is contained in:
tastybento 2022-11-26 23:50:02 -08:00
parent cc2f757da8
commit 9c20663415
3 changed files with 45 additions and 73 deletions

View File

@ -86,10 +86,6 @@ public class Settings implements WorldSettings {
@ConfigEntry(path = "world.generator.generate-surface", needsRestart = true)
private boolean generateSurface = true;
@ConfigComment("Generate bedrock")
@ConfigEntry(path = "world.generator.generate-bedrock", needsRestart = true)
private boolean generateBedrock = true;
@ConfigComment("Generate caves")
@ConfigEntry(path = "world.generator.generate-caves", needsRestart = true)
private boolean generateCaves = true;
@ -1774,20 +1770,6 @@ public class Settings implements WorldSettings {
this.generateSurface = generateSurface;
}
/**
* @return the generateBedrock
*/
public boolean isGenerateBedrock() {
return generateBedrock;
}
/**
* @param generateBedrock the generateBedrock to set
*/
public void setGenerateBedrock(boolean generateBedrock) {
this.generateBedrock = generateBedrock;
}
/**
* @return the generateCaves
*/

View File

@ -188,11 +188,6 @@ public class BoxedChunkGenerator extends ChunkGenerator {
return this.addon.getSettings().isGenerateSurface();
}
@Override
public boolean shouldGenerateBedrock() {
return this.addon.getSettings().isGenerateBedrock();
}
@Override
public boolean shouldGenerateCaves() {
return this.addon.getSettings().isGenerateCaves();

View File

@ -18,11 +18,6 @@ public class BoxedSeedChunkGenerator extends ChunkGenerator {
return true;
}
@Override
public boolean shouldGenerateBedrock() {
return false;
}
@Override
public boolean shouldGenerateCaves() {
return true;