mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 11:22:01 +01:00
LivingEntity#setKiller
This commit is contained in:
parent
8df1d2656c
commit
eb5ae9c077
@ -365,6 +365,15 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource
|
||||
@Nullable
|
||||
public Player getKiller();
|
||||
|
||||
// Paper start
|
||||
/**
|
||||
* Sets the player identified as the killer of the living entity.
|
||||
*
|
||||
* @param killer player
|
||||
*/
|
||||
public void setKiller(@Nullable Player killer);
|
||||
// Paper end
|
||||
|
||||
/**
|
||||
* Adds the given {@link PotionEffect} to the living entity.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user