mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-29 19:51:30 +01:00
Add API methods to control if armour stands can move
This commit is contained in:
parent
e5e56e1ee1
commit
614404fa55
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user