2022-05-18 22:39:49 +02:00
|
|
|
package de.ellpeck.actuallyadditions.mod;
|
|
|
|
|
2024-03-02 21:23:08 +01:00
|
|
|
import net.minecraft.resources.ResourceLocation;
|
|
|
|
import net.minecraft.sounds.SoundEvent;
|
2022-05-18 22:39:49 +02:00
|
|
|
import net.minecraftforge.eventbus.api.IEventBus;
|
|
|
|
import net.minecraftforge.registries.DeferredRegister;
|
|
|
|
import net.minecraftforge.registries.ForgeRegistries;
|
2024-03-02 21:23:08 +01:00
|
|
|
import net.minecraftforge.registries.RegistryObject;
|
2022-05-18 22:39:49 +02:00
|
|
|
|
|
|
|
public class AASounds {
|
|
|
|
public static final DeferredRegister<SoundEvent> SOUNDS = DeferredRegister.create(ForgeRegistries.SOUND_EVENTS, ActuallyAdditions.MODID);
|
|
|
|
|
2024-03-03 01:20:53 +01:00
|
|
|
public static RegistryObject<SoundEvent> RECONSTRUCTOR = SOUNDS.register("reconstructor", () -> SoundEvent.createVariableRangeEvent(new ResourceLocation(ActuallyAdditions.MODID, "reconstructor")));
|
|
|
|
public static RegistryObject<SoundEvent> CRUSHER = SOUNDS.register("crusher", () -> SoundEvent.createVariableRangeEvent(new ResourceLocation(ActuallyAdditions.MODID, "crusher")));
|
|
|
|
public static RegistryObject<SoundEvent> COFFEE_MACHINE = SOUNDS.register("coffee_machine", () -> SoundEvent.createVariableRangeEvent(new ResourceLocation(ActuallyAdditions.MODID, "coffee_machine")));
|
|
|
|
public static RegistryObject<SoundEvent> DUH_DUH_DUH_DUUUH = SOUNDS.register("duh_duh_duh_duuuh", () -> SoundEvent.createVariableRangeEvent(new ResourceLocation(ActuallyAdditions.MODID, "duh_duh_duh_duuuh")));
|
2022-05-18 22:39:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
public static void init(IEventBus bus) {
|
|
|
|
SOUNDS.register(bus);
|
|
|
|
}
|
|
|
|
}
|