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.
15 lines
335 B
Java
15 lines
335 B
Java
package mekanism.api;
|
|
|
|
/**
|
|
* Implement this in your TileEntity class if the block can transfer energy as a Universal Cable.
|
|
* @author AidanBrady
|
|
*
|
|
*/
|
|
public interface IUniversalCable
|
|
{
|
|
/**
|
|
* Whether or not this cable can transfer energy.
|
|
* @return if the cable can transfer energy
|
|
*/
|
|
public boolean canTransferEnergy();
|
|
}
|