This interface is extended by all events that have a player.
That means you can use the getter below to access the player.

Importing the class

Link to importing-the-class

It might be required to import the class to avoid errors.
import crafttweaker.event.IPlayerEvent;

Extending ILivingEvent

Link to extending-ilivingevent

This interface extends ILivingEvent, which means that all functionality that ILivingEvent offers is also present in IPlayerEvent

nametype
name
player
type
IPlayer