dcb5fac394
*Refactored API, removing core interfaces and adding more descriptive javadocs. MDK users, be prepared to update. *Fixed differing progress not being recognized. *Fixed Theoretical Elementizer displaying incorrect progress. *Made IGasStorage work in both items and blocks -- IStorageTank extends this now. *Better storage tank code. *Loads of reformatting and added missing javadocs.
29 lines
470 B
Java
29 lines
470 B
Java
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
|
|
*/
|
|
public Sound getSound();
|
|
|
|
/**
|
|
* Removes the sound;
|
|
*/
|
|
public void removeSound();
|
|
|
|
/**
|
|
* Ticks and updates the block's sound.
|
|
*/
|
|
public void updateSound();
|
|
}
|