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

32 lines
1.2 KiB
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 {
SoundEvent AMBIENT_WIND_GUST = register("ambient.wind.gust");
2020-01-16 12:35:46 +01:00
SoundEvent ENTITY_PLAYER_BATPONY_SCREECH = register("entity.player.batpony.screech");
SoundEvent ENTITY_PLAYER_REBOUND = register("entity.player.rebound");
SoundEvent ENTITY_PLAYER_PEGASUS_WINGSFLAP = register("entity.player.pegasus.wingsflap");
SoundEvent ENTITY_PLAYER_CHANGELING_BUZZ = register("entity.player.changeling.buzz");
2020-01-16 12:35:46 +01:00
SoundEvent ENTITY_PLAYER_EARS_RINGING = register("entity.player.ears_ring");
SoundEvent ENTITY_PLAYER_HEARTBEAT = register("entity.player.heartbeat");
SoundEvent ITEM_MAGIC_AURA = register("item.magic.aura");
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() {}
}