Unicopia/src/main/java/com/minelittlepony/unicopia/USounds.java
2020-09-25 20:24:48 +02:00

26 lines
860 B
Java

package com.minelittlepony.unicopia;
import net.minecraft.sound.SoundEvent;
import net.minecraft.util.Identifier;
import net.minecraft.util.registry.Registry;
public interface USounds {
SoundEvent WING_FLAP = register("wing_flap");
SoundEvent WIND_RUSH = register("wind_rush");
SoundEvent BATPONY_EEEE = register("batpony_eeee");
SoundEvent CHANGELING_BUZZ = register("changeling_buzz");
SoundEvent RECORD_CRUSADE = register("record.crusade");
SoundEvent RECORD_PET = register("record.pet");
SoundEvent RECORD_POPULAR = register("record.popular");
SoundEvent RECORD_FUNK = register("record.funk");
static SoundEvent register(String name) {
Identifier id = new Identifier("unicopia", name);
return Registry.register(Registry.SOUND_EVENT, id, new SoundEvent(id));
}
static void bootstrap() {}
}