Package appeng.api.util
Enum Class AECableType
- All Implemented Interfaces:
Serializable
,Comparable<AECableType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConnections to this block should render as covered.Smart Dense Cable, represents a tier 2 block that can carry 32 channels.Smart Dense Cable, represents a tier 2 block that can carry 32 channels.Connections to this block should render as glass.No Cable present.Connections to this block should render as smart. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
isDense()
boolean
isSmart()
boolean
isValid()
static AECableType
max
(AECableType a, AECableType b) static AECableType
min
(AECableType a, AECableType b) size()
static AECableType
Returns the enum constant of this class with the specified name.static AECableType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.variant()
-
Enum Constant Details
-
NONE
No Cable present. -
GLASS
Connections to this block should render as glass. -
COVERED
Connections to this block should render as covered. -
SMART
Connections to this block should render as smart. -
DENSE_COVERED
Smart Dense Cable, represents a tier 2 block that can carry 32 channels. -
DENSE_SMART
Smart Dense Cable, represents a tier 2 block that can carry 32 channels.
-
-
Field Details
-
VALIDCABLES
-
-
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
-
size
-
variant
-
isValid
public boolean isValid() -
isDense
public boolean isDense() -
isSmart
public boolean isSmart() -
min
-
max
-