Interface Rotate<Self extends Rotate<Self>>

All Known Subinterfaces:
Affine<Self>, Transform<Self>, TransformStack<Self>
All Known Implementing Classes:
OrientedInstance, PosedInstance, PoseTransformStack, TransformedInstance

public interface Rotate<Self extends Rotate<Self>>
  • Method Summary

    Modifier and Type
    Method
    Description
    default Self
    rotate(float radians, float axisX, float axisY, float axisZ)
     
    default Self
    rotate(float radians, com.mojang.math.Axis axis)
     
    default Self
    rotate(float radians, net.minecraft.core.Direction axis)
     
    default Self
    rotate(float radians, net.minecraft.core.Direction.Axis axis)
     
    default Self
    rotate(float radians, org.joml.Vector3fc axis)
     
    default Self
    rotate(org.joml.AxisAngle4f axisAngle)
     
    rotate(org.joml.Quaternionfc quaternion)
     
    default Self
    rotateDegrees(float degrees, float axisX, float axisY, float axisZ)
     
    default Self
    rotateDegrees(float degrees, com.mojang.math.Axis axis)
     
    default Self
    rotateDegrees(float degrees, net.minecraft.core.Direction axis)
     
    default Self
    rotateDegrees(float degrees, net.minecraft.core.Direction.Axis axis)
     
    default Self
    rotateDegrees(float degrees, org.joml.Vector3fc axis)
     
    default Self
    rotateTo(float fromX, float fromY, float fromZ, float toX, float toY, float toZ)
     
    default Self
    rotateTo(net.minecraft.core.Direction from, net.minecraft.core.Direction to)
     
    default Self
    rotateTo(org.joml.Vector3fc from, org.joml.Vector3fc to)
     
    default Self
    rotateToFace(net.minecraft.core.Direction facing)
     
    default Self
    rotateX(float radians)
     
    default Self
    rotateXDegrees(float degrees)
     
    default Self
    rotateY(float radians)
     
    default Self
    rotateYDegrees(float degrees)
     
    default Self
    rotateZ(float radians)
     
    default Self
    rotateZDegrees(float degrees)
     
    default Self
     
  • Method Details

    • rotate

      Self rotate(org.joml.Quaternionfc quaternion)
    • rotate

      default Self rotate(org.joml.AxisAngle4f axisAngle)
    • rotate

      default Self rotate(float radians, float axisX, float axisY, float axisZ)
    • rotate

      default Self rotate(float radians, com.mojang.math.Axis axis)
    • rotate

      default Self rotate(float radians, org.joml.Vector3fc axis)
    • rotate

      default Self rotate(float radians, net.minecraft.core.Direction axis)
    • rotate

      default Self rotate(float radians, net.minecraft.core.Direction.Axis axis)
    • rotateDegrees

      default Self rotateDegrees(float degrees, float axisX, float axisY, float axisZ)
    • rotateDegrees

      default Self rotateDegrees(float degrees, com.mojang.math.Axis axis)
    • rotateDegrees

      default Self rotateDegrees(float degrees, org.joml.Vector3fc axis)
    • rotateDegrees

      default Self rotateDegrees(float degrees, net.minecraft.core.Direction axis)
    • rotateDegrees

      default Self rotateDegrees(float degrees, net.minecraft.core.Direction.Axis axis)
    • rotateX

      default Self rotateX(float radians)
    • rotateY

      default Self rotateY(float radians)
    • rotateZ

      default Self rotateZ(float radians)
    • rotateXDegrees

      default Self rotateXDegrees(float degrees)
    • rotateYDegrees

      default Self rotateYDegrees(float degrees)
    • rotateZDegrees

      default Self rotateZDegrees(float degrees)
    • rotateToFace

      default Self rotateToFace(net.minecraft.core.Direction facing)
    • rotateTo

      default Self rotateTo(float fromX, float fromY, float fromZ, float toX, float toY, float toZ)
    • rotateTo

      default Self rotateTo(org.joml.Vector3fc from, org.joml.Vector3fc to)
    • rotateTo

      default Self rotateTo(net.minecraft.core.Direction from, net.minecraft.core.Direction to)
    • self

      default Self self()