Added <npc.type>, <npc.type.formatted> and <player.gamemode.id> tags.