geforkt von Mirrors/Paper
Add method to remove all active potion effects
Dieser Commit ist enthalten in:
Ursprung
6c1411fec8
Commit
fa0ad8f494
@ -657,6 +657,15 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource
|
||||
@NotNull
|
||||
public Collection<PotionEffect> getActivePotionEffects();
|
||||
|
||||
// Paper start - LivingEntity#clearActivePotionEffects();
|
||||
/**
|
||||
* Removes all active potion effects for this entity.
|
||||
*
|
||||
* @return true if any were removed
|
||||
*/
|
||||
boolean clearActivePotionEffects();
|
||||
// Paper end
|
||||
|
||||
/**
|
||||
* Checks whether the living entity has block line of sight to another.
|
||||
* <p>
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren