Small surface builder changes
This commit is contained in:
parent
d0661b94f1
commit
bc887e8cd7
2 changed files with 5 additions and 5 deletions
|
@ -12,7 +12,7 @@ public class UmbraValleyBiome extends EndBiome {
|
|||
public UmbraValleyBiome() {
|
||||
super(new BCLBiomeDef(BetterEnd.makeID("umbra_valley"))
|
||||
.setFogColor(100, 100, 100)
|
||||
.setPlantsColor(200, 200, 200)
|
||||
.setPlantsColor(172, 189, 190)
|
||||
.setWaterAndFogColor(69, 104, 134)
|
||||
.setSurface(SurfaceBuilders.UMBRA_SURFACE.configured(SurfaceBuilders.DEFAULT_END_CONFIG))
|
||||
.setParticles(EndParticles.AMBER_SPHERE, 0.0001F)
|
||||
|
|
|
@ -31,16 +31,16 @@ public class UmbraSurfaceBuilder extends SurfaceBuilder<SurfaceBuilderBaseConfig
|
|||
|
||||
private static SurfaceBuilderBaseConfiguration getConfig(int x, int z, Random random) {
|
||||
float grass = ((float) NOISE.eval(x * 0.03, z * 0.03) + (float) NOISE.eval(x * 0.1, z * 0.1) * 0.6F + random.nextFloat() * 0.2F) - 0.05F;
|
||||
if (grass > 0.3F) {
|
||||
if (grass > 0.4F) {
|
||||
return SurfaceBuilders.PALLIDIUM_FULL_SURFACE_CONFIG;
|
||||
}
|
||||
else if (grass > 0.1F) {
|
||||
else if (grass > 0.15F) {
|
||||
return SurfaceBuilders.PALLIDIUM_HEAVY_SURFACE_CONFIG;
|
||||
}
|
||||
else if (grass > -0.1) {
|
||||
else if (grass > -0.15) {
|
||||
return SurfaceBuilders.PALLIDIUM_THIN_SURFACE_CONFIG;
|
||||
}
|
||||
else if (grass > -0.3F) {
|
||||
else if (grass > -0.4F) {
|
||||
return SurfaceBuilders.PALLIDIUM_TINY_SURFACE_CONFIG;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue