Class SoundGenerator
java.lang.Object
net.neoforged.neoforge.common.data.SoundDefinitionsProvider
tech.anonymoushacker1279.immersiveweapons.data.sounds.SoundGenerator
- All Implemented Interfaces:
net.minecraft.data.DataProvider
public class SoundGenerator
extends net.neoforged.neoforge.common.data.SoundDefinitionsProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
net.minecraft.data.DataProvider.Factory<T extends net.minecraft.data.DataProvider> -
Field Summary
Fields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, KEY_COMPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionSoundGenerator(net.minecraft.data.PackOutput output, String modId, net.neoforged.neoforge.common.data.ExistingFileHelper helper) Creates a new instance of this data provider. -
Method Summary
Methods inherited from class net.neoforged.neoforge.common.data.SoundDefinitionsProvider
add, add, add, add, definition, getName, run, sound, sound, sound, sound
-
Constructor Details
-
SoundGenerator
public SoundGenerator(net.minecraft.data.PackOutput output, String modId, net.neoforged.neoforge.common.data.ExistingFileHelper helper) Creates a new instance of this data provider.- Parameters:
modId- The mod ID of the current mod.helper- The existing file helper provided by the event you are initializing this provider in.
-
-
Method Details
-
registerSounds
public void registerSounds()- Specified by:
registerSoundsin classnet.neoforged.neoforge.common.data.SoundDefinitionsProvider
-