ownerId

public UUID ownerId()

The owning player's id, or null for a wild pet.