diff options
author | Martin Robertz <dream-master@gmx.net> | 2021-04-03 17:12:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-03 17:12:12 +0200 |
commit | cb41ac5155bee91779fc3dbf38966be4a082a1d4 (patch) | |
tree | e16f03a97c2799dcdc88fa417fc50eb0639ec100 /src/main/java/gregtech/api/interfaces/tileentity/IMachineProgress.java | |
parent | e04ad467cd52d2a0cba6f3d298f80ea25113741f (diff) | |
parent | 486dacc5d03c2d2c89297ab673479d2c17085d0e (diff) | |
download | GT5-Unofficial-cb41ac5155bee91779fc3dbf38966be4a082a1d4.tar.gz GT5-Unofficial-cb41ac5155bee91779fc3dbf38966be4a082a1d4.tar.bz2 GT5-Unofficial-cb41ac5155bee91779fc3dbf38966be4a082a1d4.zip |
Merge pull request #486 from johnch18/mccoverfix
Made machine control covers disable themselves upon power loss
Diffstat (limited to 'src/main/java/gregtech/api/interfaces/tileentity/IMachineProgress.java')
-rw-r--r-- | src/main/java/gregtech/api/interfaces/tileentity/IMachineProgress.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/interfaces/tileentity/IMachineProgress.java b/src/main/java/gregtech/api/interfaces/tileentity/IMachineProgress.java index 588158d16c..bae361421c 100644 --- a/src/main/java/gregtech/api/interfaces/tileentity/IMachineProgress.java +++ b/src/main/java/gregtech/api/interfaces/tileentity/IMachineProgress.java @@ -66,4 +66,12 @@ public interface IMachineProgress extends IHasWorldObjectAndCoords { * sets the visible Active Status of the Machine */ void setActive(boolean aActive); + + /** + * Indicates if the object in question was forced to shut down (i.e. loss of power) + * */ + default boolean wasShutdown() { + return false; + } + }
\ No newline at end of file |