Interface Rotation
- All Superinterfaces:
- DefaultedRegistryValue
- 
Method SummaryModifier and TypeMethodDescriptionangle()Gets the the rotation in degrees always in clockwise order.default Matrix4dGets the4D rotation matrixof this rotation.Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValueasDefaultedReference, findKey, key
- 
Method Details- 
and
- 
angleAngle angle()Gets the the rotation in degrees always in clockwise order.- Returns:
- The rotation
 
- 
toRotationMatrixGets the4D rotation matrixof this rotation.Minecraft's coordinate system is different than traditional systems applying the semantic meaning behind the xandzaxis. These natures are described as below:- The x-axis indicates the east (when positive) or west
     (when negative) of the origin point (0, 0, 0)
- The z-axis indicates the south (when positive) or north
     (when negative) of the origin point (0, 0, 0)
 These rules differ from traditional coordinate interpretations and therefore may be unintuitive when a rotation of 90degrees will instead rotate the coordinates(1, 1, 1)across the pivot(0, 0, 0)- Returns:
- The euler matrix that represents this rotation in the X-Z plane.
 
- The x-axis indicates the east (when positive) or west
     (when negative) of the origin point 
 
-