Enum Class LockCraftingMode

java.lang.Object
java.lang.Enum<LockCraftingMode>
appeng.api.config.LockCraftingMode
All Implemented Interfaces:
Serializable, Comparable<LockCraftingMode>, Constable

public enum LockCraftingMode extends Enum<LockCraftingMode>
The circumstances under which a pattern provider will lock further crafting.
  • Enum Constant Details

    • NONE

      public static final LockCraftingMode NONE
      Crafting is never locked.
    • LOCK_UNTIL_PULSE

      public static final LockCraftingMode 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

      public static final LockCraftingMode LOCK_WHILE_HIGH
      Crafting is locked while the pattern provider is receiving a redstone signal.
    • LOCK_WHILE_LOW

      public static final LockCraftingMode LOCK_WHILE_LOW
      Crafting is locked while the pattern provider is not receiving a redstone signal.
    • LOCK_UNTIL_RESULT

      public static final LockCraftingMode 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

      public static LockCraftingMode[] 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

      public static LockCraftingMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null