Class FabricSoundsProvider

java.lang.Object
net.fabricmc.fabric.api.client.datagen.v1.provider.FabricSoundsProvider
All Implemented Interfaces:
DataProvider

public abstract class FabricSoundsProvider extends Object implements DataProvider
Extend this class and implement configure(RegistryWrapper.WrapperLookup, SoundExporter).

Register an instance of the class with FabricDataGenerator.Pack.addProvider(net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator.Pack.Factory<T>) in a DataGeneratorEntrypoint.

Registered sound types will be appended to their own sounds.json in a namespace corresponding to the id of the sound event they are assigned to.