Sounds
This commit is contained in:
parent
74992a7f68
commit
62698e8bf5
24 changed files with 64 additions and 30 deletions
18
src/main/java/ru/betterend/registry/SoundsRegistry.java
Normal file
18
src/main/java/ru/betterend/registry/SoundsRegistry.java
Normal file
|
@ -0,0 +1,18 @@
|
|||
package ru.betterend.registry;
|
||||
|
||||
import net.minecraft.sound.SoundEvent;
|
||||
import net.minecraft.util.registry.Registry;
|
||||
import ru.betterend.BetterEnd;
|
||||
|
||||
public class SoundsRegistry
|
||||
{
|
||||
public static final SoundEvent AMBIENT_FOGGY_MUSHROOMLAND = registerAmbient("foggy_mushroomland");
|
||||
|
||||
public static void register() {}
|
||||
|
||||
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