Firefly sounds
This commit is contained in:
parent
70e9813002
commit
be7fdf20e6
8 changed files with 44 additions and 16 deletions
|
@ -1,28 +0,0 @@
|
|||
package ru.betterend.registry;
|
||||
|
||||
import net.minecraft.sound.SoundEvent;
|
||||
import net.minecraft.util.registry.Registry;
|
||||
import ru.betterend.BetterEnd;
|
||||
|
||||
public class SoundsRegistry
|
||||
{
|
||||
// Music
|
||||
public static final SoundEvent MUSIC_FOGGY_MUSHROOMLAND = registerMusic("foggy_mushroomland");
|
||||
|
||||
// Ambient
|
||||
public static final SoundEvent AMBIENT_FOGGY_MUSHROOMLAND = registerAmbient("foggy_mushroomland");
|
||||
|
||||
public static void register() {}
|
||||
|
||||
private static SoundEvent registerMusic(String id)
|
||||
{
|
||||
id = "betterend.music." + id;
|
||||
return Registry.register(Registry.SOUND_EVENT, id, new SoundEvent(BetterEnd.makeID(id)));
|
||||
}
|
||||
|
||||
private static SoundEvent registerAmbient(String id)
|
||||
{
|
||||
id = "betterend.ambient." + id;
|
||||
return Registry.register(Registry.SOUND_EVENT, id, new SoundEvent(BetterEnd.makeID(id)));
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue