Class VanillaSoundIdentifier

java.lang.Object
etithespirit.orimod.client.audio.VanillaSoundIdentifier

public class VanillaSoundIdentifier extends Object
Identifies sounds played by vanilla and loosely categorizes them.
Author:
Eti
  • Constructor Details

    • VanillaSoundIdentifier

      public VanillaSoundIdentifier()
  • Method Details

    • getTypeOf

      public static VanillaSoundIdentifier.CustomSoundType getTypeOf(@Nonnull String soundEventName)
      Returns the associated sound type for the given sound event name. If this is SoundType.NO_OVERWRITE, then it should not be overridden.
      Parameters:
      soundEventName - The vanilla SoundEvent
      Throws:
      ArgumentNullException - if any arguments denoted as @Nonnull are null.