Class ModSoundProvider

java.lang.Object
net.neoforged.neoforge.common.data.SoundDefinitionsProvider
com.rgerva.dbr.datagen.ModSoundProvider
All Implemented Interfaces:
net.minecraft.data.DataProvider

public class ModSoundProvider 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, INDENT_WIDTH, KEY_COMPARATOR
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    ModSoundProvider(net.minecraft.data.PackOutput output)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected net.neoforged.neoforge.common.data.SoundDefinition
     
    void
     

    Methods inherited from class net.neoforged.neoforge.common.data.SoundDefinitionsProvider

    add, add, add, add, definition, getName, run, sound, sound, sound, sound

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ModSoundProvider

      protected ModSoundProvider(net.minecraft.data.PackOutput output)
  • Method Details

    • registerSounds

      public void registerSounds()
      Specified by:
      registerSounds in class net.neoforged.neoforge.common.data.SoundDefinitionsProvider
    • createSoundDefinition

      protected net.neoforged.neoforge.common.data.SoundDefinition createSoundDefinition(String name)