I'm trying to make a plugin that affects PvP attacks, so looking through the docs, I found that the event I'm looking for is onEntityDamagedByEntity(), but when looking through the Entity class file, there doesn't seem to be an obvious way to figure out if an entity is a player (or a way to call actions on the player, such as player.getName(), which I need). Is there something I'm overlooking? I saw entity.getEntityID(). Am I suppose to use that somehow? I want to make sure there's nothing I'm missing before doing something like opening an issue.