mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 11:27:35 +01:00
Allow disabling armour stand ticking
This commit is contained in:
parent
d50ba0d9d0
commit
f55cc79973
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user