Plant distribution fix
This commit is contained in:
parent
5585d8952c
commit
064c8509e2
5 changed files with 6 additions and 9 deletions
|
@ -268,7 +268,8 @@ public class EndFeatures {
|
||||||
public static final DefaultFeature CAVE_PUMPKIN = new CavePumpkinFeature();
|
public static final DefaultFeature CAVE_PUMPKIN = new CavePumpkinFeature();
|
||||||
|
|
||||||
private static BCLFeature redisterVegetation(String name, Feature<NoneFeatureConfiguration> feature, int density) {
|
private static BCLFeature redisterVegetation(String name, Feature<NoneFeatureConfiguration> feature, int density) {
|
||||||
return BCLCommonFeatures.makeVegetationFeature(BetterEnd.makeID(name), feature, density);
|
ResourceLocation id = BetterEnd.makeID(name);
|
||||||
|
return BCLFeatureBuilder.start(id, feature).countLayersMax(density).onlyInBiome().build();
|
||||||
}
|
}
|
||||||
|
|
||||||
private static BCLFeature registerRawGen(String name, Feature<NoneFeatureConfiguration> feature, int chance) {
|
private static BCLFeature registerRawGen(String name, Feature<NoneFeatureConfiguration> feature, int chance) {
|
||||||
|
|
|
@ -19,8 +19,7 @@ public class DustWastelandsBiome extends EndBiome.Config {
|
||||||
builder.fogColor(226, 239, 168)
|
builder.fogColor(226, 239, 168)
|
||||||
.fogDensity(2)
|
.fogDensity(2)
|
||||||
.waterAndFogColor(192, 180, 131)
|
.waterAndFogColor(192, 180, 131)
|
||||||
//TODO: 1.18 removed
|
.terrainHeight(1.5F)
|
||||||
//.depth(1.5F)
|
|
||||||
.particles(ParticleTypes.WHITE_ASH, 0.01F)
|
.particles(ParticleTypes.WHITE_ASH, 0.01F)
|
||||||
.loop(EndSounds.AMBIENT_DUST_WASTELANDS)
|
.loop(EndSounds.AMBIENT_DUST_WASTELANDS)
|
||||||
.music(EndSounds.MUSIC_OPENSPACE)
|
.music(EndSounds.MUSIC_OPENSPACE)
|
||||||
|
|
|
@ -25,8 +25,7 @@ public class MegalakeBiome extends EndBiome.Config {
|
||||||
.fogDensity(1.75F)
|
.fogDensity(1.75F)
|
||||||
.music(EndSounds.MUSIC_WATER)
|
.music(EndSounds.MUSIC_WATER)
|
||||||
.loop(EndSounds.AMBIENT_MEGALAKE)
|
.loop(EndSounds.AMBIENT_MEGALAKE)
|
||||||
//TODO: 1.18 removed
|
.terrainHeight(0F)
|
||||||
//.depth(0F)
|
|
||||||
.feature(EndFeatures.END_LOTUS)
|
.feature(EndFeatures.END_LOTUS)
|
||||||
.feature(EndFeatures.END_LOTUS_LEAF)
|
.feature(EndFeatures.END_LOTUS_LEAF)
|
||||||
.feature(EndFeatures.BUBBLE_CORAL_RARE)
|
.feature(EndFeatures.BUBBLE_CORAL_RARE)
|
||||||
|
|
|
@ -27,8 +27,7 @@ public class MegalakeGroveBiome extends EndBiome.Config {
|
||||||
.particles(EndParticles.GLOWING_SPHERE, 0.001F)
|
.particles(EndParticles.GLOWING_SPHERE, 0.001F)
|
||||||
.music(EndSounds.MUSIC_WATER)
|
.music(EndSounds.MUSIC_WATER)
|
||||||
.loop(EndSounds.AMBIENT_MEGALAKE_GROVE)
|
.loop(EndSounds.AMBIENT_MEGALAKE_GROVE)
|
||||||
//TODO: 1.18 removed
|
.terrainHeight(0F)
|
||||||
//.depth(0F)
|
|
||||||
.feature(EndFeatures.LACUGROVE)
|
.feature(EndFeatures.LACUGROVE)
|
||||||
.feature(EndFeatures.END_LOTUS)
|
.feature(EndFeatures.END_LOTUS)
|
||||||
.feature(EndFeatures.END_LOTUS_LEAF)
|
.feature(EndFeatures.END_LOTUS_LEAF)
|
||||||
|
|
|
@ -37,8 +37,7 @@ public class SulphurSpringsBiome extends EndBiome.Config {
|
||||||
.waterFogColor(30, 65, 61)
|
.waterFogColor(30, 65, 61)
|
||||||
.fogColor(207, 194, 62)
|
.fogColor(207, 194, 62)
|
||||||
.fogDensity(1.5F)
|
.fogDensity(1.5F)
|
||||||
//TODO: 1.18 removed
|
.terrainHeight(0F)
|
||||||
//.depth(0F)
|
|
||||||
.particles(EndParticles.SULPHUR_PARTICLE, 0.001F)
|
.particles(EndParticles.SULPHUR_PARTICLE, 0.001F)
|
||||||
.feature(EndFeatures.GEYSER)
|
.feature(EndFeatures.GEYSER)
|
||||||
.feature(EndFeatures.SURFACE_VENT)
|
.feature(EndFeatures.SURFACE_VENT)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue