mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 15:49:00 +01:00
Allow disabling armour stand ticking
This commit is contained in:
parent
d50ba0d9d0
commit
f55cc79973
1 changed files with 16 additions and 0 deletions
|
@ -363,5 +363,21 @@ public interface ArmorStand extends LivingEntity {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
org.bukkit.inventory.@NotNull EntityEquipment getEquipment();
|
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
|
// Paper end
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue