Package appeng.api.config
Enum Class LockCraftingMode
- All Implemented Interfaces:
Serializable
,Comparable<LockCraftingMode>
,Constable
The circumstances under which a pattern provider will lock further crafting.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAfter pushing a pattern to an adjacent machine, the pattern provider will not accept further crafts until a redstone pulse is received.After pushing a pattern to an adjacent machine, the pattern provider will not accept further crafts until the primary pattern result is returned to the network through the pattern provider.Crafting is locked while the pattern provider is receiving a redstone signal.Crafting is locked while the pattern provider is not receiving a redstone signal.Crafting is never locked. -
Method Summary
Modifier and TypeMethodDescriptionstatic LockCraftingMode
Returns the enum constant of this class with the specified name.static LockCraftingMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Crafting is never locked. -
LOCK_UNTIL_PULSE
After pushing a pattern to an adjacent machine, the pattern provider will not accept further crafts until a redstone pulse is received. -
LOCK_WHILE_HIGH
Crafting is locked while the pattern provider is receiving a redstone signal. -
LOCK_WHILE_LOW
Crafting is locked while the pattern provider is not receiving a redstone signal. -
LOCK_UNTIL_RESULT
After pushing a pattern to an adjacent machine, the pattern provider will not accept further crafts until the primary pattern result is returned to the network through the pattern provider.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-