2020-04-15 14:22:03 +02:00
|
|
|
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-04-15 12:37:14 +02:00
|
|
|
SoundEvent INSECT = register("insect");
|
|
|
|
SoundEvent CHANGELING_BUZZ = register("changeling_buzz");
|
2020-01-16 12:35:46 +01:00
|
|
|
|
2020-04-15 12:37:14 +02:00
|
|
|
SoundEvent SLIME_ADVANCE = register("slime_advance");
|
|
|
|
SoundEvent SLIME_RETRACT = register("slime_retract");
|
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() {}
|
|
|
|
}
|