Importing the class

Link to importing-the-class

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import crafttweaker.api.util.math.OctahedralGroup;

Implemented Interfaces

Link to implemented-interfaces

OctahedralGroup implements the following interfaces. That means all methods defined in these interfaces are also available in OctahedralGroup

OctahedralGroup is an enum. It has 48 enum constants. They are accessible using the code below.

ZenScript
Copy
OctahedralGroup.IDENTITY
OctahedralGroup.ROT_180_FACE_XY
OctahedralGroup.ROT_180_FACE_XZ
OctahedralGroup.ROT_180_FACE_YZ
OctahedralGroup.ROT_120_NNN
OctahedralGroup.ROT_120_NNP
OctahedralGroup.ROT_120_NPN
OctahedralGroup.ROT_120_NPP
OctahedralGroup.ROT_120_PNN
OctahedralGroup.ROT_120_PNP
OctahedralGroup.ROT_120_PPN
OctahedralGroup.ROT_120_PPP
OctahedralGroup.ROT_180_EDGE_XY_NEG
OctahedralGroup.ROT_180_EDGE_XY_POS
OctahedralGroup.ROT_180_EDGE_XZ_NEG
OctahedralGroup.ROT_180_EDGE_XZ_POS
OctahedralGroup.ROT_180_EDGE_YZ_NEG
OctahedralGroup.ROT_180_EDGE_YZ_POS
OctahedralGroup.ROT_90_X_NEG
OctahedralGroup.ROT_90_X_POS
OctahedralGroup.ROT_90_Y_NEG
OctahedralGroup.ROT_90_Y_POS
OctahedralGroup.ROT_90_Z_NEG
OctahedralGroup.ROT_90_Z_POS
OctahedralGroup.INVERSION
OctahedralGroup.INVERT_X
OctahedralGroup.INVERT_Y
OctahedralGroup.INVERT_Z
OctahedralGroup.ROT_60_REF_NNN
OctahedralGroup.ROT_60_REF_NNP
OctahedralGroup.ROT_60_REF_NPN
OctahedralGroup.ROT_60_REF_NPP
OctahedralGroup.ROT_60_REF_PNN
OctahedralGroup.ROT_60_REF_PNP
OctahedralGroup.ROT_60_REF_PPN
OctahedralGroup.ROT_60_REF_PPP
OctahedralGroup.SWAP_XY
OctahedralGroup.SWAP_YZ
OctahedralGroup.SWAP_XZ
OctahedralGroup.SWAP_NEG_XY
OctahedralGroup.SWAP_NEG_YZ
OctahedralGroup.SWAP_NEG_XZ
OctahedralGroup.ROT_90_REF_X_NEG
OctahedralGroup.ROT_90_REF_X_POS
OctahedralGroup.ROT_90_REF_Y_NEG
OctahedralGroup.ROT_90_REF_Y_POS
OctahedralGroup.ROT_90_REF_Z_NEG
OctahedralGroup.ROT_90_REF_Z_POS

Name: compose

Return Type: OctahedralGroup

ZenScript
Copy
OctahedralGroup.compose(group as OctahedralGroup) as OctahedralGroup
ParameterTypeDescription
Parameter
group
Type
OctahedralGroup
Description
No Description Provided

Name: inverse

Return Type: OctahedralGroup

ZenScript
Copy
// OctahedralGroup.inverse() as OctahedralGroup

myOctahedralGroup.inverse();

Name: inverts

Return Type: boolean

ZenScript
Copy
OctahedralGroup.inverts(axis as Axis) as boolean
ParameterTypeDescription
Parameter
axis
Type
Axis
Description
No Description Provided

Name: rotate

Return Type: Direction

ZenScript
Copy
OctahedralGroup.rotate(direction as Direction) as Direction
ParameterTypeDescription
Parameter
direction
Type
Direction
Description
No Description Provided

Name: rotate

Return Type: FrontAndTop

ZenScript
Copy
OctahedralGroup.rotate(frontAndTop as FrontAndTop) as FrontAndTop
ParameterTypeDescription
Parameter
frontAndTop
Type
FrontAndTop
Description
No Description Provided

Name: transformation

Return Type: Matrix3f

ZenScript
Copy
// OctahedralGroup.transformation() as Matrix3f

myOctahedralGroup.transformation();
NameTypeHas GetterHas SetterDescription
Name
transformation
Type
Matrix3f
Has Getter
true
Has Setter
false
Description
No Description Provided