blob: f772c1ee691c9c1284c93b725cd93cbab247ae76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package gregtech.api.interfaces.tileentity;
/**
* You are allowed to include this File in your Download, as i will not change it. Simple Interface for Machines, which
* need my Machine Blocks for MultiBlockStructures.
* <p/>
* Every Machine implementing this Interface will conduct Machine updates.
*/
public interface IMachineBlockUpdateable {
/**
* The Machine Update, which is called when the Machine needs an Update of its Parts. I suggest to wait 1-5 seconds
* before actually checking the Machine Parts. RP-Frames could for example cause Problems when you instacheck the
* Machine Parts.
*/
void onMachineBlockUpdate();
/**
* Should recurse?
*/
default boolean isMachineBlockUpdateRecursive() {
return true;
}
}
|