1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-01-30 19:40:37 +01:00

Add API methods to control if armour stands can move

This commit is contained in:
Riley Park 2016-12-21 11:47:25 -06:00
parent e5e56e1ee1
commit 614404fa55

View file

@ -344,4 +344,21 @@ public interface ArmorStand extends LivingEntity {
*/
ADDING;
}
// Paper start
/**
* Tests if this armor stand can move.
*
* <p>The default value is {@code true}.</p>
*
* @return {@code true} if this armour stand can move, {@code false} otherwise
*/
boolean canMove();
/**
* Sets if this armor stand can move.
*
* @param move {@code true} if this armour stand can move, {@code false} otherwise
*/
void setCanMove(boolean move);
// Paper end
}