2022-05-18 22:39:49 +02:00
|
|
|
package de.ellpeck.actuallyadditions.data;
|
|
|
|
|
|
|
|
import de.ellpeck.actuallyadditions.mod.AASounds;
|
|
|
|
import de.ellpeck.actuallyadditions.mod.ActuallyAdditions;
|
2024-03-03 01:20:53 +01:00
|
|
|
import net.minecraft.data.PackOutput;
|
2024-03-02 21:23:08 +01:00
|
|
|
import net.minecraft.resources.ResourceLocation;
|
2024-03-04 20:21:48 +01:00
|
|
|
import net.neoforged.neoforge.common.data.ExistingFileHelper;
|
|
|
|
import net.neoforged.neoforge.common.data.SoundDefinitionsProvider;
|
2022-05-18 22:39:49 +02:00
|
|
|
|
|
|
|
public class SoundsGenerator extends SoundDefinitionsProvider {
|
|
|
|
|
2024-03-03 01:20:53 +01:00
|
|
|
protected SoundsGenerator(PackOutput packOutput, ExistingFileHelper helper) {
|
|
|
|
super(packOutput, ActuallyAdditions.MODID, helper);
|
2022-05-18 22:39:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void registerSounds() {
|
|
|
|
add(AASounds.RECONSTRUCTOR, definition().with(sound(new ResourceLocation(ActuallyAdditions.MODID, "reconstructor"))));
|
|
|
|
add(AASounds.CRUSHER, definition().with(sound(new ResourceLocation(ActuallyAdditions.MODID, "crusher"))));
|
|
|
|
add(AASounds.COFFEE_MACHINE, definition().with(sound(new ResourceLocation(ActuallyAdditions.MODID, "coffee_machine"))));
|
|
|
|
add(AASounds.DUH_DUH_DUH_DUUUH, definition().with(sound(new ResourceLocation(ActuallyAdditions.MODID, "duh_duh_duh_duuuh"))));
|
|
|
|
}
|
|
|
|
}
|