mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-18 06:40:55 +00:00
add biome sound configs
This commit is contained in:
+4
@@ -156,6 +156,10 @@ public class NMSBiomeInjector {
|
||||
effects.grassColorOverride(vanillaBiomeProperties.getGrassColor());
|
||||
}
|
||||
|
||||
vanilla.getAmbientLoop().ifPresent(effects::ambientLoopSound);
|
||||
vanilla.getAmbientAdditions().ifPresent(effects::ambientAdditionsSound);
|
||||
vanilla.getAmbientMood().ifPresent(effects::ambientMoodSound);
|
||||
vanilla.getBackgroundMusic().ifPresent(effects::backgroundMusic);
|
||||
vanilla.getAmbientParticle().ifPresent(effects::ambientParticle);
|
||||
|
||||
builder.specialEffects(effects.build());
|
||||
|
||||
+4
@@ -150,6 +150,10 @@ public class NMSBiomeInjector {
|
||||
effects.grassColorOverride(vanillaBiomeProperties.getGrassColor());
|
||||
}
|
||||
|
||||
vanilla.getAmbientLoop().ifPresent(effects::ambientLoopSound);
|
||||
vanilla.getAmbientAdditions().ifPresent(effects::ambientAdditionsSound);
|
||||
vanilla.getAmbientMood().ifPresent(effects::ambientMoodSound);
|
||||
vanilla.getBackgroundMusic().ifPresent(effects::backgroundMusic);
|
||||
vanilla.getAmbientParticle().ifPresent(effects::ambientParticle);
|
||||
|
||||
builder.specialEffects(effects.build());
|
||||
|
||||
@@ -151,6 +151,10 @@ public final class BiomeUtil {
|
||||
builder.precipitation(vanilla.getPrecipitation());
|
||||
}
|
||||
|
||||
vanilla.getLoopSound().ifPresent(effects::loopSound);
|
||||
vanilla.getAdditionsSound().ifPresent(effects::additionsSound);
|
||||
vanilla.getMoodSound().ifPresent(effects::moodSound);
|
||||
vanilla.getMusic().ifPresent(effects::music);
|
||||
vanilla.getParticleConfig().ifPresent(effects::particleConfig);
|
||||
|
||||
return builder
|
||||
|
||||
Reference in New Issue
Block a user