Megalake sounds and music

This commit is contained in:
paulevsGitch 2020-10-24 21:45:12 +03:00
parent 004d5f4ce7
commit 491afd5236
6 changed files with 29 additions and 0 deletions

View file

@ -9,10 +9,12 @@ public class SoundRegistry {
public static final SoundEvent MUSIC_FOGGY_MUSHROOMLAND = register("music", "foggy_mushroomland");
public static final SoundEvent MUSIC_CHORUS_FOREST = register("music", "chorus_forest");
public static final SoundEvent MUSIC_CRYSTAL_MOUNTAINS = register("music", "crystal_mountains");
public static final SoundEvent MUSIC_MEGALAKE = register("music", "megalake");
// Ambient
public static final SoundEvent AMBIENT_FOGGY_MUSHROOMLAND = register("ambient", "foggy_mushroomland");
public static final SoundEvent AMBIENT_CHORUS_FOREST = register("ambient", "chorus_forest");
public static final SoundEvent AMBIENT_MEGALAKE = register("ambient", "megalake");
// Entity
public static final SoundEvent ENTITY_DRAGONFLY = register("entity", "dragonfly");

View file

@ -5,6 +5,7 @@ import net.minecraft.world.gen.feature.ConfiguredStructureFeatures;
import ru.betterend.registry.BlockRegistry;
import ru.betterend.registry.EntityRegistry;
import ru.betterend.registry.FeatureRegistry;
import ru.betterend.registry.SoundRegistry;
import ru.betterend.registry.StructureRegistry;
public class BiomeMegalake extends EndBiome {
@ -14,6 +15,8 @@ public class BiomeMegalake extends EndBiome {
.setWaterColor(96, 163, 255)
.setWaterFogColor(96, 163, 255)
.setFogDensity(1.75F)
.setMusic(SoundRegistry.MUSIC_MEGALAKE)
.setLoop(SoundRegistry.AMBIENT_MEGALAKE)
.setSurface(BlockRegistry.ENDSTONE_DUST, BlockRegistry.END_MOSS)
.addStructureFeature(StructureRegistry.MEGALAKE)
.addStructureFeature(ConfiguredStructureFeatures.END_CITY)

View file

@ -44,6 +44,21 @@
}
]
},
"betterend.music.megalake": {
"category": "music",
"sounds": [
{
"name": "betterend:music/jesse_gallagher-the_blue_pearl",
"volume": 0.25,
"stream": false
},
{
"name": "betterend:music/jesse_gallagher-venkatesananda",
"volume": 0.25,
"stream": false
}
]
},
"betterend.ambient.foggy_mushroomland": {
"category": "ambient",
@ -63,6 +78,15 @@
}
]
},
"betterend.ambient.megalake": {
"category": "ambient",
"sounds": [
{
"name": "betterend:ambient/megalake",
"stream": false
}
]
},
"betterend.entity.dragonfly": {
"category": "entity",