mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-22 12:43:29 +01:00
Add API methods to control if armour stands can move
This commit is contained in:
parent
e5e56e1ee1
commit
614404fa55
1 changed files with 17 additions and 0 deletions
|
@ -344,4 +344,21 @@ public interface ArmorStand extends LivingEntity {
|
||||||
*/
|
*/
|
||||||
ADDING;
|
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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue