Enum Class AECableType

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

public enum AECableType extends Enum<AECableType>
  • Enum Constant Details

    • NONE

      public static final AECableType NONE
      No Cable present.
    • GLASS

      public static final AECableType GLASS
      Connections to this block should render as glass.
    • COVERED

      public static final AECableType COVERED
      Connections to this block should render as covered.
    • SMART

      public static final AECableType SMART
      Connections to this block should render as smart.
    • DENSE_COVERED

      public static final AECableType DENSE_COVERED
      Smart Dense Cable, represents a tier 2 block that can carry 32 channels.
    • DENSE_SMART

      public static final AECableType DENSE_SMART
      Smart Dense Cable, represents a tier 2 block that can carry 32 channels.
  • Field Details

    • VALIDCABLES

      public static final AECableType[] VALIDCABLES
  • Method Details

    • values

      public static AECableType[] 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 AECableType 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
    • size

      public AECableSize size()
    • variant

      public AECableVariant variant()
    • isValid

      public boolean isValid()
    • isDense

      public boolean isDense()
    • isSmart

      public boolean isSmart()
    • min

      public static AECableType min(AECableType a, AECableType b)
    • max

      public static AECableType max(AECableType a, AECableType b)