forked from xsun2001/Applied-Energistics-2-Unofficial
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport Interface Locking Mode (#437)
* Backport Interface Locking Mode * Fix a SOE * add AE2FC compat and fix persistence issue --------- Co-authored-by: Martin Robertz <[email protected]>
- Loading branch information
1 parent
068702d
commit 14110e6
Showing
27 changed files
with
567 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package appeng.api.config; | ||
|
||
/** | ||
* The circumstances under which a interface will lock further crafting. | ||
*/ | ||
public enum LockCraftingMode { | ||
/** | ||
* Crafting is never locked. | ||
*/ | ||
NONE, | ||
/** | ||
* After pushing a pattern to an adjacent machine, the interface will not accept further crafts until a redstone | ||
* pulse is received. | ||
*/ | ||
LOCK_UNTIL_PULSE, | ||
/** | ||
* Crafting is locked while the interface is receiving a redstone signal. | ||
*/ | ||
LOCK_WHILE_HIGH, | ||
/** | ||
* Crafting is locked while the interface is not receiving a redstone signal. | ||
*/ | ||
LOCK_WHILE_LOW, | ||
/** | ||
* After pushing a pattern to an adjacent machine, the interface will not accept further crafts until the primary | ||
* pattern result is returned to the network through the interface. | ||
*/ | ||
LOCK_UNTIL_RESULT | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.