Style fix
This commit is contained in:
parent
65913a7d11
commit
004d5f4ce7
1 changed files with 2 additions and 4 deletions
|
@ -4,8 +4,7 @@ import net.minecraft.sound.SoundEvent;
|
|||
import net.minecraft.util.registry.Registry;
|
||||
import ru.betterend.BetterEnd;
|
||||
|
||||
public class SoundRegistry
|
||||
{
|
||||
public class SoundRegistry {
|
||||
// Music
|
||||
public static final SoundEvent MUSIC_FOGGY_MUSHROOMLAND = register("music", "foggy_mushroomland");
|
||||
public static final SoundEvent MUSIC_CHORUS_FOREST = register("music", "chorus_forest");
|
||||
|
@ -20,8 +19,7 @@ public class SoundRegistry
|
|||
|
||||
public static void register() {}
|
||||
|
||||
private static SoundEvent register(String type, String id)
|
||||
{
|
||||
private static SoundEvent register(String type, String id) {
|
||||
id = "betterend." + type + "." + id;
|
||||
return Registry.register(Registry.SOUND_EVENT, id, new SoundEvent(BetterEnd.makeID(id)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue