Enum Class GridFlags

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

public enum GridFlags extends Enum<GridFlags>
Various flags to determine network node behavior.
  • Enum Constant Details

    • REQUIRE_CHANNEL

      public static final GridFlags REQUIRE_CHANNEL
      import/export buses, terminals, and other devices that use network features, will use this setting.
    • COMPRESSED_CHANNEL

      public static final GridFlags COMPRESSED_CHANNEL
      This is used for the inner node of ME-P2P tunnels, which connects to the grid that will carry the content of the P2P tunnel compressed into a single channel.
    • CANNOT_CARRY

      public static final GridFlags CANNOT_CARRY
      cannot carry channels over this node.
    • CANNOT_CARRY_COMPRESSED

      public static final GridFlags CANNOT_CARRY_COMPRESSED
      This is used for the outer node of ME-P2P tunnels, which provides the 32-channel connection at both ends of the tunnel.
    • DENSE_CAPACITY

      public static final GridFlags DENSE_CAPACITY
      This node can transmit 32 signals, this should only apply to Tier2 Cable, P2P Tunnels, and Quantum Network Bridges.

      Causes paths through these nodes to be strongly preferred.

    • MULTIBLOCK

      public static final GridFlags MULTIBLOCK
      This block is part of a multiblock, used in conjunction with REQUIRE_CHANNEL, and IGridMultiblock see this interface for details.
    • PREFERRED

      public static final GridFlags PREFERRED
      Causes paths through these nodes to be preferred. This is used by Tier1 Cables and Toggle Busses to make paths go through them rather than ordinary devices if possible.

      Does not need to be set if DENSE_CAPACITY is already set.

  • Method Details

    • values

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