mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
*Updated to MC v1.4.6. *Updated all APIs. *Repackaged for new Forge. *Added Metallurgic Infuser for making Steel and Bronze. *Added Refined Steel Dust. *Added Refined Steel Ingots. *Made Refined Iron -> Steel Block. *Maps instead of Vectors for recipes. *New recipe managing for Metallurgic Infuser. *Cleaned up imports. *Added new Javadocs. *Made Electrolytic Separator texture changed based on what gas it is outputting. *Other various bugfixes.
22 lines
402 B
Java
22 lines
402 B
Java
package mekanism.api;
|
|
|
|
/**
|
|
* Implement this if your machine/generator has some form of active state.
|
|
* @author aidancbrady
|
|
*
|
|
*/
|
|
public interface IActiveState
|
|
{
|
|
/**
|
|
* Gets the active state as a boolean.
|
|
* @return active state
|
|
*/
|
|
public boolean getActive();
|
|
|
|
/**
|
|
* Sets the active state to a new value.
|
|
* @param active - new active state
|
|
*/
|
|
public void setActive(boolean active);
|
|
}
|