Class AxisPair

java.lang.Object
me.c7dev.dexterity.util.AxisPair

public class AxisPair extends Object
Used to calculate the new yaw, pitch, and roll of a DexBlock in a rotation
  • Field Details

    • PI2

      public static double PI2
  • Constructor Details

    • AxisPair

      public AxisPair()
    • AxisPair

      public AxisPair(DexBlock db)
    • AxisPair

      public AxisPair(double yaw, double pitch, double roll)
    • AxisPair

      public AxisPair(org.bukkit.util.Vector x, org.bukkit.util.Vector z)
  • Method Details

    • highlight

      public void highlight(DexBlock db, int seconds)
    • transform

      public void transform(org.joml.Quaterniond q1)
    • getPitchYawRoll

      public org.bukkit.util.Vector getPitchYawRoll()