geforkt von Mirrors/Paper
Added getKiller() method to LivingEntity, to determine the killer of an entity
By: Nathan Adams <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
Ursprung
2a9dad1626
Commit
c98c245890
@ -215,4 +215,12 @@ public interface LivingEntity extends Entity {
|
||||
*/
|
||||
public void setNoDamageTicks(int ticks);
|
||||
|
||||
/**
|
||||
* Gets the player identified as the killer of this entity.
|
||||
* <p>
|
||||
* May be null.
|
||||
*
|
||||
* @return Killer player, or null if none found.
|
||||
*/
|
||||
public Player getKiller();
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren