public enum AECableType extends java.lang.Enum<AECableType>
| Enum Constant and Description |
|---|
COVERED
Connections to this block should render as covered.
|
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.
|
GLASS
Connections to this block should render as glass.
|
NONE
No Cable present.
|
SMART
Connections to this block should render as smart.
|
| Modifier and Type | Field and Description |
|---|---|
static AECableType[] |
VALIDCABLES |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDense() |
boolean |
isSmart() |
boolean |
isValid() |
static AECableType |
max(AECableType a,
AECableType b) |
static AECableType |
min(AECableType a,
AECableType b) |
AECableSize |
size() |
static AECableType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AECableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
AECableVariant |
variant() |
public static final AECableType NONE
public static final AECableType GLASS
public static final AECableType COVERED
public static final AECableType SMART
public static final AECableType DENSE_COVERED
public static final AECableType DENSE_SMART
public static final AECableType[] VALIDCABLES
public static AECableType[] values()
for (AECableType c : AECableType.values()) System.out.println(c);
public static AECableType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic AECableSize size()
public AECableVariant variant()
public boolean isValid()
public boolean isDense()
public boolean isSmart()
public static AECableType min(AECableType a, AECableType b)
public static AECableType max(AECableType a, AECableType b)