mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Move the directory structure around to a more conventional one and start out on the 1.7 update.
3797 errors. We have a long way to go.
This commit is contained in:
1 parent
3a0de87a09
commit
ab47724473
1245 files changed
+1764
-5953
No files matched your search
@@ -0,0 +1,33 @@
|
||||
package mekanism.common;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Internal interface containing methods that are shared by many core Mekanism machines. TODO: remove next minor MC
|
||||
* version.
|
||||
* @author AidanBrady
|
||||
*
|
||||
*/
|
||||
public interface IElectricMachine
|
||||
{
|
||||
/**
|
||||
* Update call for machines. Use instead of updateEntity() - it's called every tick.
|
||||
*/
|
||||
public void onUpdate();
|
||||
|
||||
/**
|
||||
* Whether or not this machine can operate.
|
||||
* @return can operate
|
||||
*/
|
||||
public boolean canOperate();
|
||||
|
||||
/**
|
||||
* Runs this machine's operation -- or smelts the item.
|
||||
*/
|
||||
public void operate();
|
||||
|
||||
/**
|
||||
* Gets this machine's recipes.
|
||||
*/
|
||||
public Map getRecipes();
|
||||
}
|
||||
Reference in new issue
Block a user