package org.inventivetalent.npclib.entity.living.human;

import com.mojang.authlib.GameProfile;

public interface EntityPlayer extends NPCEntityHuman {

	GameProfile getProfile();

}

package org.inventivetalent.npclib.entity.living.human;

import com.mojang.authlib.GameProfile;
import org.bukkit.event.entity.CreatureSpawnEvent;
import org.inventivetalent.npclib.annotation.ExtraMethod;

public interface EntityPlayer extends NPCEntityHuman {

	GameProfile getProfile();

	@ExtraMethod("public void spawn(org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason spawnReason) {\n"
						 + "  this.world.players.add(this);\n"
						 + "  this.world.entityList.add(this);\n"
						 + "}")
	void spawn(CreatureSpawnEvent.SpawnReason spawnReason);
}

add a separate spawn method for players (that hopefully doesn't break stuff)