Allow disabling armour stand ticking

This commit is contained in:
Riley Park 2018-08-15 01:26:03 -07:00
parent d50ba0d9d0
commit f55cc79973

View File

@ -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
}