Uses of Interface
io.papermc.paper.math.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
Modifier and TypeFieldDescriptionstatic final Rotations
Rotations.ZERO
Rotations instance with every axis set to 0Modifier 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 Rotationsstatic Rotations
Rotations.ofDegrees
(double x, double y, double z) Creates a new Rotations instance holding the provided rotationsdefault Rotations
Rotations.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
Modifier 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
.Modifier 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
.