Diese Klasse importieren

Link to diese-klasse-importieren

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
<constant:minecraft:math/octahedralgroup:identity>
<constant:minecraft:math/octahedralgroup:rot_180_face_xy>
<constant:minecraft:math/octahedralgroup:rot_180_face_xz>
<constant:minecraft:math/octahedralgroup:rot_180_face_yz>
<constant:minecraft:math/octahedralgroup:rot_120_nnn>
<constant:minecraft:math/octahedralgroup:rot_120_nnp>
<constant:minecraft:math/octahedralgroup:rot_120_npn>
<constant:minecraft:math/octahedralgroup:rot_120_npp>
<constant:minecraft:math/octahedralgroup:rot_120_pnn>
<constant:minecraft:math/octahedralgroup:rot_120_pnp>
<constant:minecraft:math/octahedralgroup:rot_120_ppn>
<constant:minecraft:math/octahedralgroup:rot_120_ppp>
<constant:minecraft:math/octahedralgroup:rot_180_edge_xy_neg>
<constant:minecraft:math/octahedralgroup:rot_180_edge_xy_pos>
<constant:minecraft:math/octahedralgroup:rot_180_edge_xz_neg>
<constant:minecraft:math/octahedralgroup:rot_180_edge_xz_pos>
<constant:minecraft:math/octahedralgroup:rot_180_edge_yz_neg>
<constant:minecraft:math/octahedralgroup:rot_180_edge_yz_pos>
<constant:minecraft:math/octahedralgroup:rot_90_x_neg>
<constant:minecraft:math/octahedralgroup:rot_90_x_pos>
<constant:minecraft:math/octahedralgroup:rot_90_y_neg>
<constant:minecraft:math/octahedralgroup:rot_90_y_pos>
<constant:minecraft:math/octahedralgroup:rot_90_z_neg>
<constant:minecraft:math/octahedralgroup:rot_90_z_pos>
<constant:minecraft:math/octahedralgroup:inversion>
<constant:minecraft:math/octahedralgroup:invert_x>
<constant:minecraft:math/octahedralgroup:invert_y>
<constant:minecraft:math/octahedralgroup:invert_z>
<constant:minecraft:math/octahedralgroup:rot_60_ref_nnn>
<constant:minecraft:math/octahedralgroup:rot_60_ref_nnp>
<constant:minecraft:math/octahedralgroup:rot_60_ref_npn>
<constant:minecraft:math/octahedralgroup:rot_60_ref_npp>
<constant:minecraft:math/octahedralgroup:rot_60_ref_pnn>
<constant:minecraft:math/octahedralgroup:rot_60_ref_pnp>
<constant:minecraft:math/octahedralgroup:rot_60_ref_ppn>
<constant:minecraft:math/octahedralgroup:rot_60_ref_ppp>
<constant:minecraft:math/octahedralgroup:swap_xy>
<constant:minecraft:math/octahedralgroup:swap_yz>
<constant:minecraft:math/octahedralgroup:swap_xz>
<constant:minecraft:math/octahedralgroup:swap_neg_xy>
<constant:minecraft:math/octahedralgroup:swap_neg_yz>
<constant:minecraft:math/octahedralgroup:swap_neg_xz>
<constant:minecraft:math/octahedralgroup:rot_90_ref_x_neg>
<constant:minecraft:math/octahedralgroup:rot_90_ref_x_pos>
<constant:minecraft:math/octahedralgroup:rot_90_ref_y_neg>
<constant:minecraft:math/octahedralgroup:rot_90_ref_y_pos>
<constant:minecraft:math/octahedralgroup:rot_90_ref_z_neg>
<constant:minecraft:math/octahedralgroup:rot_90_ref_z_pos>

Name: compose

Return Type: OctahedralGroup

ZenScript
Copy
OctahedralGroup.compose(group as OctahedralGroup) as OctahedralGroup
ParameterType
Parameter
group
Type
OctahedralGroup

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
ParameterType
Parameter
axis
Type
Axis

Name: rotate

Return Type: Direction

ZenScript
Copy
OctahedralGroup.rotate(direction as Direction) as Direction
ParameterType
Parameter
direction
Type
Direction

Name: rotate

Return Type: FrontAndTop

ZenScript
Copy
OctahedralGroup.rotate(frontAndTop as FrontAndTop) as FrontAndTop
ParameterType
Parameter
frontAndTop
Type
FrontAndTop

Name: transformation

Return Type: Matrix3f

ZenScript
Copy
// OctahedralGroup.transformation() as Matrix3f

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