Allow disabling armour stand ticking
This commit is contained in:
@@ -363,5 +363,21 @@ public interface ArmorStand extends LivingEntity {
|
||||
|
||||
@Override
|
||||
org.bukkit.inventory.@NotNull EntityEquipment getEquipment();
|
||||
|
||||
/**
|
||||
* Tests if this armor stand can tick.
|
||||
*
|
||||
* <p>The default value is defined in {@code paper.yml}.</p>
|
||||
*
|
||||
* @return {@code true} if this armour stand can tick, {@code false} otherwise
|
||||
*/
|
||||
boolean canTick();
|
||||
|
||||
/**
|
||||
* Sets if this armor stand can tick.
|
||||
*
|
||||
* @param tick {@code true} if this armour stand can tick, {@code false} otherwise
|
||||
*/
|
||||
void setCanTick(final boolean tick);
|
||||
// Paper end
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user