Cleanup and fixes

This commit is contained in:
paulevsGitch 2020-09-23 00:26:18 +03:00
parent ae2dba1380
commit 8d07268aa1
2 changed files with 1 additions and 23 deletions

View file

@ -261,7 +261,7 @@ public class BiomeDefinition
structures.forEach((structure) -> generationSettings.structureFeature(structure));
features.forEach((info) -> generationSettings.feature(info.featureStep, info.feature));
effects.skyColor(fogColor).waterColor(waterColor).waterFogColor(waterFogColor).fogColor(fogColor);
effects.skyColor(0).waterColor(waterColor).waterFogColor(waterFogColor).fogColor(fogColor);
if (loop != null) effects.loopSound(loop);
if (mood != null) effects.moodSound(mood);
if (additions != null) effects.additionsSound(additions);

View file

@ -23,8 +23,6 @@ public class EndBiome
protected EndBiome biomeParent;
protected float maxSubBiomeChance = 1;
protected float genChance = 1;
protected float noiseDensity = 0.3F;
protected float plantDensity = 1.0001F;
public EndBiome(BiomeDefinition definition)
{
@ -38,26 +36,6 @@ public class EndBiome
mcID = BuiltinRegistries.BIOME.getId(biome);
}
public void setPlantDensity(float density)
{
this.plantDensity = density * 1.0001F;
}
public float getPlantDensity()
{
return plantDensity;
}
public void setNoiseDensity(float density)
{
this.noiseDensity = 1 - density * 2;
}
public float getNoiseDensity()
{
return (1F - this.noiseDensity) / 2F;
}
public void genSurfColumn(WorldAccess world, BlockPos pos, Random random) {}
public EndBiome getEdge()