Package appeng.api.networking
Enum Class GridFlags
- All Implemented Interfaces:
Serializable
,Comparable<GridFlags>
,Constable
Various flags to determine network node behavior.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptioncannot carry channels over this node.This is used for the outer node of ME-P2P tunnels, which provides the 32-channel connection at both ends of the tunnel.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.This node can transmit 32 signals, this should only apply to Tier2 Cable, P2P Tunnels, and Quantum Network Bridges.This block is part of a multiblock, used in conjunction with REQUIRE_CHANNEL, andIGridMultiblock
see this interface for details.Causes paths through these nodes to be preferred.import/export buses, terminals, and other devices that use network features, will use this setting. -
Method Summary
-
Enum Constant Details
-
REQUIRE_CHANNEL
import/export buses, terminals, and other devices that use network features, will use this setting. -
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
cannot carry channels over this node. -
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
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
This block is part of a multiblock, used in conjunction with REQUIRE_CHANNEL, andIGridMultiblock
see this interface for details. -
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
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
-