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
|
|
|
|
*/
|
2013-04-13 03:32:43 +02:00
|
|
|
@SideOnly(Side.CLIENT)
|
2013-03-20 21:28:45 +01:00
|
|
|
public Sound getSound();
|
2013-03-22 02:28:36 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Removes the sound;
|
|
|
|
*/
|
2013-04-13 03:32:43 +02:00
|
|
|
@SideOnly(Side.CLIENT)
|
2013-03-22 02:28:36 +01:00
|
|
|
public void removeSound();
|
2013-04-01 01:12:10 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Ticks and updates the block's sound.
|
|
|
|
*/
|
2013-04-13 03:32:43 +02:00
|
|
|
@SideOnly(Side.CLIENT)
|
2013-04-01 01:12:10 +02:00
|
|
|
public void updateSound();
|
2013-03-20 21:28:45 +01:00
|
|
|
}
|