Uses of Interface
io.papermc.paper.math.Rotations
Packages that use Rotations
Package
Description
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.-
Uses of Rotations in io.papermc.paper.math
Fields in io.papermc.paper.math declared as RotationsModifier and TypeFieldDescriptionstatic final Rotations
Rotations.ZERO
Rotations instance with every axis set to 0Methods in io.papermc.paper.math that return RotationsModifier and TypeMethodDescriptionRotations.add
(double x, double y, double z) Returns a new Rotations instance which is the result of adding the x, y, z components to this RotationsRotations.ofDegrees
(double x, double y, double z) Creates a new Rotations instance holding the provided rotationsRotations.subtract
(double x, double y, double z) Returns a new Rotations instance which is the result of subtracting the x, y, z components from this RotationsRotations.withX
(double x) Returns a new Rotations instance which is the result of changing the X axis to the passed angleRotations.withY
(double y) Returns a new Rotations instance which is the result of changing the Y axis to the passed angleRotations.withZ
(double z) Returns a new Rotations instance which is the result of changing the Z axis to the passed angle -
Uses of Rotations in org.bukkit.entity
Methods in org.bukkit.entity that return RotationsModifier and TypeMethodDescriptionArmorStand.getBodyRotations()
Returns the ArmorStand's body rotations asRotations
.ArmorStand.getHeadRotations()
Returns the ArmorStand's head rotations asRotations
.ArmorStand.getLeftArmRotations()
Returns the ArmorStand's left arm rotations asRotations
.ArmorStand.getLeftLegRotations()
Returns the ArmorStand's left leg rotations asRotations
.ArmorStand.getRightArmRotations()
Returns the ArmorStand's right arm rotations asRotations
.ArmorStand.getRightLegRotations()
Returns the ArmorStand's right leg rotations asRotations
.Methods in org.bukkit.entity with parameters of type RotationsModifier and TypeMethodDescriptionvoid
ArmorStand.setBodyRotations
(Rotations rotations) Sets the ArmorStand's body rotations asRotations
.void
ArmorStand.setHeadRotations
(Rotations rotations) Sets the ArmorStand's head rotations asRotations
.void
ArmorStand.setLeftArmRotations
(Rotations rotations) Sets the ArmorStand's left arm rotations asRotations
.void
ArmorStand.setLeftLegRotations
(Rotations rotations) Sets the ArmorStand's left leg rotations asRotations
.void
ArmorStand.setRightArmRotations
(Rotations rotations) Sets the ArmorStand's right arm rotations asRotations
.void
ArmorStand.setRightLegRotations
(Rotations rotations) Sets the ArmorStand's right leg rotations asRotations
.