Class SpiritSounds

java.lang.Object
etithespirit.orimod.spirit.SpiritSounds

public final class SpiritSounds extends Object
Handles when certain sounds should play.
Author:
Eti
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    onEntityDied(net.minecraftforge.event.entity.living.LivingDeathEvent event)
     
    static void
    onEntityHurt(net.minecraftforge.event.entity.living.LivingHurtEvent event)
     
    static void
    performAirSounds(net.minecraftforge.event.TickEvent.PlayerTickEvent evt)
    A tick based update method that calculates when to play air sounds.

    Methods inherited from class java.lang.Object

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

    • SpiritSounds

      public SpiritSounds()
  • Method Details

    • performAirSounds

      public static void performAirSounds(net.minecraftforge.event.TickEvent.PlayerTickEvent evt)
      A tick based update method that calculates when to play air sounds.
      Parameters:
      evt - The tick event.
    • onEntityHurt

      public static void onEntityHurt(net.minecraftforge.event.entity.living.LivingHurtEvent event)
    • onEntityDied

      public static void onEntityDied(net.minecraftforge.event.entity.living.LivingDeathEvent event)