Package etithespirit.orimod.spirit
Class SpiritSounds
java.lang.Object
etithespirit.orimod.spirit.SpiritSounds
Handles when certain sounds should play.
- Author:
- Eti
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
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)
-