Unicopia/src/main/java/com/minelittlepony/unicopia/USounds.java

27 lines
860 B
Java
Raw Normal View History

package com.minelittlepony.unicopia;
2020-01-16 12:35:46 +01:00
import net.minecraft.sound.SoundEvent;
import net.minecraft.util.Identifier;
import net.minecraft.util.registry.Registry;
2020-04-15 12:37:14 +02:00
public interface USounds {
2020-01-16 12:35:46 +01:00
2020-04-15 12:37:14 +02:00
SoundEvent WING_FLAP = register("wing_flap");
SoundEvent WIND_RUSH = register("wind_rush");
2020-01-16 12:35:46 +01:00
2020-09-25 20:24:48 +02:00
SoundEvent BATPONY_EEEE = register("batpony_eeee");
2020-04-15 12:37:14 +02:00
SoundEvent CHANGELING_BUZZ = register("changeling_buzz");
2020-01-16 12:35:46 +01:00
2020-04-15 12:37:14 +02:00
SoundEvent RECORD_CRUSADE = register("record.crusade");
SoundEvent RECORD_PET = register("record.pet");
SoundEvent RECORD_POPULAR = register("record.popular");
SoundEvent RECORD_FUNK = register("record.funk");
2020-01-16 12:35:46 +01:00
2020-04-15 12:37:14 +02:00
static SoundEvent register(String name) {
2020-04-25 13:32:33 +02:00
Identifier id = new Identifier("unicopia", name);
2020-01-16 12:35:46 +01:00
return Registry.register(Registry.SOUND_EVENT, id, new SoundEvent(id));
}
static void bootstrap() {}
}