2013-08-26 18:57:08 -04:00
|
|
|
package mekanism.client.sound;
|
2013-03-20 16:28:45 -04:00
|
|
|
|
2013-03-31 19:12:10 -04:00
|
|
|
/**
|
|
|
|
* Implement this if your TileEntity has a specific sound.
|
|
|
|
* @author AidanBrady
|
|
|
|
*
|
|
|
|
*/
|
2013-03-20 16:28:45 -04:00
|
|
|
public interface IHasSound
|
|
|
|
{
|
|
|
|
/**
|
2013-04-17 22:40:11 -04:00
|
|
|
* Gets the sound path of this block's sound.
|
2013-04-13 10:33:37 -04:00
|
|
|
* @return sound path
|
2013-03-20 16:28:45 -04:00
|
|
|
*/
|
2013-04-13 10:33:37 -04:00
|
|
|
public String getSoundPath();
|
2013-05-06 19:42:03 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the multiplier to play this sound by.
|
|
|
|
* @return sound multiplier
|
|
|
|
*/
|
|
|
|
public float getVolumeMultiplier();
|
2013-03-20 16:28:45 -04:00
|
|
|
}
|