Package com.mynamesraph.chiseled.block
Enum BlockCorner
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum BlockCorner extends Enum<BlockCorner>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBlockCorner.Companion
-
Field Summary
Fields Modifier and Type Field Description private final StringcornerNameprivate final Triple<Direction, Direction, Direction>asDirectionsprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<BlockCorner>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description TOP_NORTH_WESTBOTTOM_NORTH_WESTTOP_SOUTH_WESTBOTTOM_SOUTH_WESTTOP_NORTH_EASTBOTTOM_NORTH_EASTTOP_SOUTH_EASTBOTTOM_SOUTH_EAST
-
Method Summary
Modifier and Type Method Description final BlockCornervalueOf(String value)Returns the enum constant of this type with the specified name. final Array<BlockCorner>values()Returns an array containing the constants of this enum type, in the order they're declared. final StringgetCornerName()final Triple<Direction, Direction, Direction>getAsDirections()final EnumEntries<BlockCorner>getEntries()-
-
Method Detail
-
valueOf
final BlockCorner valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<BlockCorner> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getCornerName
final String getCornerName()
-
getAsDirections
final Triple<Direction, Direction, Direction> getAsDirections()
-
getEntries
final EnumEntries<BlockCorner> getEntries()
-
-
-
-