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