change world floor and ceiling to filler an optional flag
This commit is contained in:
parent
dfa5026a29
commit
272392c8ea
4 changed files with 33 additions and 61 deletions
|
@ -163,8 +163,8 @@ public final class WorldServer extends AWorldServer {
|
|||
private BlockReplacer replacer;
|
||||
private FeatureDungeons dungeons;
|
||||
private State liquid;
|
||||
private State base;
|
||||
private State ceil;
|
||||
private boolean base;
|
||||
private boolean ceil;
|
||||
private FeatureOres[] ores;
|
||||
private FeatureLakes[] lakes;
|
||||
private FeatureLiquids[] liquids;
|
||||
|
@ -342,8 +342,8 @@ public final class WorldServer extends AWorldServer {
|
|||
this.caveGen = null;
|
||||
this.bigCaveGen = null;
|
||||
this.ravineGen = null;
|
||||
this.base = null;
|
||||
this.ceil = null;
|
||||
this.base = false;
|
||||
this.ceil = false;
|
||||
this.mobs = false;
|
||||
this.snow = false;
|
||||
this.strongholdGen = null;
|
||||
|
@ -423,8 +423,8 @@ public final class WorldServer extends AWorldServer {
|
|||
this.caveGen = this.createCaveGenerator();
|
||||
this.bigCaveGen = this.createBigCaveGenerator();
|
||||
this.ravineGen = this.createRavineGenerator();
|
||||
this.base = this.dimension.getFiller().getBlock() == Blocks.air ? null : this.dimension.getFiller();
|
||||
this.ceil = this.dimension.getWorldCeiling();
|
||||
this.base = this.dimension.getFiller().getBlock() != Blocks.air;
|
||||
this.ceil = this.dimension.hasWorldCeiling();
|
||||
this.mobs = this.dimension.hasMobs();
|
||||
this.snow = this.dimension.hasSnow();
|
||||
this.strongholdGen = this.dimension.hasStrongholds() ? new MapGenStronghold() : null;
|
||||
|
@ -1748,8 +1748,8 @@ public final class WorldServer extends AWorldServer {
|
|||
this.replacer = null;
|
||||
this.populate = false;
|
||||
this.liquid = Blocks.air.getState();
|
||||
this.base = null;
|
||||
this.ceil = null;
|
||||
this.base = false;
|
||||
this.ceil = false;
|
||||
this.height = this.generator.getMaximumHeight();
|
||||
this.seaLevel = this.dimension.getSeaLevel();
|
||||
this.ores = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue