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) @ConfigEntry(path = "world.generator.generate-surface", needsRestart = true)
private boolean generateSurface = true; private boolean generateSurface = true;
@ConfigComment("Generate bedrock")
@ConfigEntry(path = "world.generator.generate-bedrock", needsRestart = true)
private boolean generateBedrock = true;
@ConfigComment("Generate caves") @ConfigComment("Generate caves")
@ConfigEntry(path = "world.generator.generate-caves", needsRestart = true) @ConfigEntry(path = "world.generator.generate-caves", needsRestart = true)
private boolean generateCaves = true; private boolean generateCaves = true;
@ -1774,20 +1770,6 @@ public class Settings implements WorldSettings {
this.generateSurface = generateSurface; 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 * @return the generateCaves
*/ */

View File

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

View File

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