Enum Class ConnectingTextureLayout
java.lang.Object
java.lang.Enum<ConnectingTextureLayout>
com.supermartijn642.fusion.api.texture.data.ConnectingTextureLayout
- All Implemented Interfaces:
Serializable,Comparable<ConnectingTextureLayout>,Constable
Created 28/04/2023 by SuperMartijn642
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAllows for reduced connections with direct neighbors.Allows for connections with direct as well as diagonal neighbors.Allows for connections with horizontal neighbors.Allows for connections only with direct neighbors.Allows for connections with vertical neighbors. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConnectingTextureLayoutReturns the enum constant of this class with the specified name.static ConnectingTextureLayout[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FULL
Allows for connections with direct as well as diagonal neighbors. -
HORIZONTAL
Allows for connections with horizontal neighbors. -
SIMPLE
Allows for connections only with direct neighbors. -
VERTICAL
Allows for connections with vertical neighbors. -
COMPACT
Allows for reduced connections with direct neighbors.
-
-
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
-