Enum Class ConnectingTextureLayout

java.lang.Object
java.lang.Enum<ConnectingTextureLayout>
com.supermartijn642.fusion.api.texture.data.ConnectingTextureLayout
All Implemented Interfaces:
Serializable, Comparable<ConnectingTextureLayout>, Constable

public enum ConnectingTextureLayout extends Enum<ConnectingTextureLayout>
Created 28/04/2023 by SuperMartijn642
  • Enum Constant Details

    • FULL

      public static final ConnectingTextureLayout FULL
      Allows for connections with direct as well as diagonal neighbors.
    • HORIZONTAL

      public static final ConnectingTextureLayout HORIZONTAL
      Allows for connections with horizontal neighbors.
    • SIMPLE

      public static final ConnectingTextureLayout SIMPLE
      Allows for connections only with direct neighbors.
    • VERTICAL

      public static final ConnectingTextureLayout VERTICAL
      Allows for connections with vertical neighbors.
    • COMPACT

      public static final ConnectingTextureLayout COMPACT
      Allows for reduced connections with direct neighbors.
  • Method Details

    • values

      public static ConnectingTextureLayout[] 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 ConnectingTextureLayout 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