13
0
geforkt von Mirrors/Paper

Add LivingEntity#clearActiveItem

Dieser Commit ist enthalten in:
Anrza 2020-07-15 12:07:58 +02:00
Ursprung 72ab93ca8a
Commit 5fa4ae1e90

Datei anzeigen

@ -1071,6 +1071,11 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource
*/
org.bukkit.inventory.@NotNull ItemStack getActiveItem();
/**
* Interrupts any ongoing active "usage" or consumption or an item.
*/
void clearActiveItem();
/**
* Gets the remaining number of ticks for {@link #getActiveItem()}'s usage.
*