Enum Class TransportSideMode
- All Implemented Interfaces:
Serializable, Comparable<TransportSideMode>, Constable
How one side of a transport connects to the block there (Mekanism's connection types), set per
transport and side (e.g. with a configurator).
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionnext()The next mode, for cycling with a tool.static TransportSideModeReturns the enum constant of this class with the specified name.static TransportSideMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Machines: the network takes from their outputs and fills their inputs. Containers: only filled. -
PULL
The network pulls from the block (a container or a machine's outputs) and never fills it. -
PUSH
The network only fills the block. -
NONE
Not connected.
-
-
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
-
next
The next mode, for cycling with a tool.
-