Mekanism-tilera-Edition/src/minecraft/mekanism/client/IHasSound.java

33 lines
542 B
Java
Raw Normal View History

package mekanism.client;
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)
public interface IHasSound
{
/**
* Gets the sound.
* @return sound
*/
2013-04-13 03:32:43 +02:00
@SideOnly(Side.CLIENT)
public Sound getSound();
/**
* Removes the sound;
*/
2013-04-13 03:32:43 +02:00
@SideOnly(Side.CLIENT)
public void removeSound();
/**
* Ticks and updates the block's sound.
*/
2013-04-13 03:32:43 +02:00
@SideOnly(Side.CLIENT)
public void updateSound();
}