geforkt von Mirrors/Paper
Add LivingEntity#clearActiveItem
Dieser Commit ist enthalten in:
Ursprung
72ab93ca8a
Commit
5fa4ae1e90
@ -1071,6 +1071,11 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource
|
|||||||
*/
|
*/
|
||||||
org.bukkit.inventory.@NotNull ItemStack getActiveItem();
|
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.
|
* Gets the remaining number of ticks for {@link #getActiveItem()}'s usage.
|
||||||
*
|
*
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren