2013-03-20 21:28:45 +01:00
|
|
|
package mekanism.client;
|
|
|
|
|
2013-04-01 01:12:10 +02:00
|
|
|
import cpw.mods.fml.relauncher.Side;
|
|
|
|
import cpw.mods.fml.relauncher.SideOnly;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Implement this if your TileEntity has a specific sound.
|
|
|
|
* @author AidanBrady
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
@SideOnly(Side.CLIENT)
|
2013-03-20 21:28:45 +01:00
|
|
|
public interface IHasSound
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Gets the sound.
|
|
|
|
* @return sound
|
|
|
|
*/
|
|
|
|
public Sound getSound();
|
2013-03-22 02:28:36 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Removes the sound;
|
|
|
|
*/
|
|
|
|
public void removeSound();
|
2013-04-01 01:12:10 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Ticks and updates the block's sound.
|
|
|
|
*/
|
|
|
|
public void updateSound();
|
2013-03-20 21:28:45 +01:00
|
|
|
}
|