Class PlayerDamageSourceSounds

java.lang.Object
net.frozenblock.lib.sound.api.damagesource.PlayerDamageSourceSounds

public final class PlayerDamageSourceSounds extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addDamageSound(net.minecraft.world.damagesource.DamageSource source, net.minecraft.sounds.SoundEvent sound, net.minecraft.resources.ResourceLocation registry)
     
    static boolean
    containsSource(net.minecraft.resources.ResourceLocation location)
     
    static boolean
    containsSource(net.minecraft.world.damagesource.DamageSource source)
     
    static net.minecraft.resources.ResourceLocation
    getDamageID(net.minecraft.world.damagesource.DamageSource source)
     
    static net.minecraft.sounds.SoundEvent
    getDamageSound(net.minecraft.resources.ResourceLocation location)
     
    static net.minecraft.sounds.SoundEvent
    getDamageSound(net.minecraft.world.damagesource.DamageSource source)
     

    Methods inherited from class java.lang.Object

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

    • addDamageSound

      public static void addDamageSound(net.minecraft.world.damagesource.DamageSource source, net.minecraft.sounds.SoundEvent sound, net.minecraft.resources.ResourceLocation registry)
    • getDamageSound

      public static net.minecraft.sounds.SoundEvent getDamageSound(net.minecraft.world.damagesource.DamageSource source)
    • getDamageSound

      public static net.minecraft.sounds.SoundEvent getDamageSound(net.minecraft.resources.ResourceLocation location)
    • getDamageID

      public static net.minecraft.resources.ResourceLocation getDamageID(net.minecraft.world.damagesource.DamageSource source)
    • containsSource

      public static boolean containsSource(net.minecraft.world.damagesource.DamageSource source)
    • containsSource

      public static boolean containsSource(net.minecraft.resources.ResourceLocation location)