public class MovementMethods
extends java.lang.Object
Constructor and Description |
---|
MovementMethods() |
Modifier and Type | Method and Description |
---|---|
static org.bukkit.util.Vector |
addRightVelocity(org.bukkit.entity.ArmorStand as,
int direction,
float vectorSize) |
static void |
move(org.bukkit.entity.ArmorStand a,
org.bukkit.util.Vector newPosition)
Deprecated.
|
static void |
setHeadPose(org.bukkit.entity.ArmorStand a,
org.bukkit.util.EulerAngle newPosition)
Set the head pose of the armorstand using NMS
|
static void |
setHitbox(org.bukkit.entity.ArmorStand a,
org.bukkit.util.Vector newPosition)
Deprecated.
|
static void |
setPosition(org.bukkit.entity.ArmorStand a,
org.bukkit.Location newPosition)
Teleport the armorstand to a new position using NMS
|
public static void setPosition(org.bukkit.entity.ArmorStand a, org.bukkit.Location newPosition)
a
- the ArmorStand to teleportnewPosition
- the target positionpublic static void setHeadPose(org.bukkit.entity.ArmorStand a, org.bukkit.util.EulerAngle newPosition)
a
- the armorstand to movenewPosition
- the new head pose@Deprecated public static void move(org.bukkit.entity.ArmorStand a, org.bukkit.util.Vector newPosition)
a
- the armorstand to movenewPosition
- the new velocity@Deprecated public static void setHitbox(org.bukkit.entity.ArmorStand a, org.bukkit.util.Vector newPosition)
a
- the armorstand to set the hitbox ofnewPosition
- the hitbox sizepublic static org.bukkit.util.Vector addRightVelocity(org.bukkit.entity.ArmorStand as, int direction, float vectorSize)