diff --git a/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java b/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java index 09f532f539..94504bcf52 100644 --- a/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java +++ b/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java @@ -215,4 +215,12 @@ public interface LivingEntity extends Entity { */ public void setNoDamageTicks(int ticks); + /** + * Gets the player identified as the killer of this entity. + *
+ * May be null. + * + * @return Killer player, or null if none found. + */ + public Player getKiller(); }