[question] What is the correct way syntax to reference faction NPC's?
Winddbourne opened this issue · 10 comments
I'd like to use Biome Tweaker to have faction NPC's eventually spawn in different biomes even though I'm not having any of the structures actually spawn in my world. The problem is that I can see you are using tags on the entity object.
For example, the entity class for several different Faction NPC's is:
"net.shadowmage.ancientwarfare.npc.entity.faction.NpcFactionMountedSoldier"
And normally that is what I'd put into the code to spawn them . . .
But I'm pretty sure that is going to give me an error because the summon command for registry ID "ancientwarfarenpc:faction.cavalry" failed to return any unit. Instead, it gave me the error "unable to summon object".
So I can be pretty sure that:
"NPC.addSpawn("net.shadowmage.ancientwarfare.npc.entity.faction.NpcFactionMountedSoldier, "CREATURE", 8, 4, 8)
is also going to be wrong.
My question is if there actually is a way to reference these both for the summon command and for Biome Tweaker's code. I'm thinking that it's:
"net.shadowmage.ancientwarfare.npc.entity.faction.NpcFactionMountedSoldier.withTag({npcSubtype: "", faction: "buffloka", npcType: "faction.cavalry"})"
but I'd rather ask than put that into my code and have it error out on me. I know just enough here to try something and have it be really stupid . . . so it's best to just ask the expert . . . which would be the mod developer. lol
It could be really cool if I'm able to use biome tweaker to get them to spawn naturally and then use mob stages to have them appear at the right time . . . each in the proper biome xoltec in the jungle, bufloka on the plains, impi on the savanna . . . I really hope this works. The themed units look super cool.
I actually achieved what you are trying to do in 1.7, using JAS (Just Another Spawner) mod - patrols and invasion forces of mixed type AW NPC's by biome type - so as you say - Norska in snowlands etc, Zimba in Savanna. The problems I hit with this was that because under JAS the AW NPC's were classed as "creatures" to be spawned in daylight, they took over the spawn cap and eventually nothing else could spawn. Without attaching despawn tags to them all the biomes just became crowded out with AW NPC's - but I couldnt attach despawn tags to them without adversely affecting the AW NPC's in structures, which also despawned. So whilst "succcessful" in one way, it wasnt successful enough to be a viable option.
I'm not familiar with how Biome Tweaker works, so cant offer advice on that. However, AW does plan to do what you are suggesting eventually, npc raiders, and full scall siege invasions. But it wont be "soon".
So in JAS - these are examples of its 1.7 entries for the AW NPC names:
"AncientWarfareNpc.viking.soldier": {
"Weight-PassivePackMax-ChunkPackMin-ChunkPackMax": "0-4-0-4"
},
"AncientWarfareNpc.viking.soldier.elite": {
"Weight-PassivePackMax-ChunkPackMin-ChunkPackMax": "0-4-0-4"
You can see its using the name of the mob - not the base entity name that you are quoting above
So if Biome Tweaker works the same way as JAS used to - thats what you need
So the AW NPC names are here:
#npc
entity.ancientwarfarenpc.aw_npc_worker.name=Worker
entity.ancientwarfarenpc.aw_npc_combat.name=Soldier
entity.ancientwarfarenpc.aw_npc_courier.name=Courier
entity.ancientwarfarenpc.aw_npc_trader.name=Trader
entity.ancientwarfarenpc.aw_npc_priest.name=Priest
entity.ancientwarfarenpc.aw_npc_bard.name=Bard
entity.ancientwarfarenpc.brigand.soldier.name=Brigand
entity.ancientwarfarenpc.brigand.soldier.elite.name=Brigand Cuthroat
entity.ancientwarfarenpc.brigand.cavalry.name=Brigand Reiver
entity.ancientwarfarenpc.brigand.archer.name=Brigand Backshooter
entity.ancientwarfarenpc.brigand.archer.elite.name=Brigand Lookout
entity.ancientwarfarenpc.brigand.mounted_archer.name=Highwayman
entity.ancientwarfarenpc.brigand.leader.name=Brigand Chief
entity.ancientwarfarenpc.brigand.leader.elite.name=Brigand Warlord
entity.ancientwarfarenpc.brigand.priest.name=Heretic Priest
entity.ancientwarfarenpc.brigand.trader.name=Brigand Fence
entity.ancientwarfarenpc.brigand.civilian.male.name=Brigand
entity.ancientwarfarenpc.brigand.civilian.female.name=Brigandess
entity.ancientwarfarenpc.brigand.bard.name=Brigand Talespinner
entity.ancientwarfarenpc.brigand.siege_engineer.name=Renegade Artificier
entity.ancientwarfarenpc.sarkonid.soldier.name=Sarkonid Warrior
entity.ancientwarfarenpc.sarkonid.soldier.elite.name=Sarkonid Ghazi
entity.ancientwarfarenpc.sarkonid.cavalry.name=Sarkonid Knight
entity.ancientwarfarenpc.sarkonid.archer.name=Sarkonid Archer
entity.ancientwarfarenpc.sarkonid.archer.elite.name=Sarkonid Guard
entity.ancientwarfarenpc.sarkonid.mounted_archer.name=Sarkonid Horse Archer
entity.ancientwarfarenpc.sarkonid.leader.name=Sarkonid Emir
entity.ancientwarfarenpc.sarkonid.leader.elite.name=Sarkonid Pasha
entity.ancientwarfarenpc.sarkonid.priest.name=Sarkonid Dervish
entity.ancientwarfarenpc.sarkonid.trader.name=Sarkonid Bazaari
entity.ancientwarfarenpc.sarkonid.civilian.male.name=Sarkonid man
entity.ancientwarfarenpc.sarkonid.civilian.female.name=Sarkonid woman
entity.ancientwarfarenpc.sarkonid.bard.name=Sarkonid Storyteller
entity.ancientwarfarenpc.sarkonid.siege_engineer.name=Sarkonid Artificier
entity.ancientwarfarenpc.kong.soldier.name=Kong Spearman
entity.ancientwarfarenpc.kong.soldier.elite.name=Kong Blood Spirit
entity.ancientwarfarenpc.kong.cavalry.name=Kong Gorilla Rider
entity.ancientwarfarenpc.kong.archer.name=Kong Bowman
entity.ancientwarfarenpc.kong.archer.elite.name=Kong Guard
entity.ancientwarfarenpc.kong.mounted_archer.name=Kong Gorilla Raider
entity.ancientwarfarenpc.kong.leader.name=Kong Vassel Chief
entity.ancientwarfarenpc.kong.leader.elite.name=Kong Great Chief
entity.ancientwarfarenpc.kong.priest.name=Kong Pot Chief
entity.ancientwarfarenpc.kong.trader.name=Kong Swapper
entity.ancientwarfarenpc.kong.civilian.male.name=Kong Man
entity.ancientwarfarenpc.kong.civilian.female.name=Kong Woman
entity.ancientwarfarenpc.kong.bard.name=Kong Singer
entity.ancientwarfarenpc.kong.siege_engineer.name=Kong Gorilla rock lobber
entity.ancientwarfarenpc.pirate.soldier.name=Pirate
entity.ancientwarfarenpc.pirate.soldier.elite.name=Pirate Ravager
entity.ancientwarfarenpc.pirate.cavalry.name=Smuggler Nightrider
entity.ancientwarfarenpc.pirate.archer.name=Pirate Bowman
entity.ancientwarfarenpc.pirate.archer.elite.name=Pirate Lookout
entity.ancientwarfarenpc.pirate.mounted_archer.name=Smuggler Raider
entity.ancientwarfarenpc.pirate.leader.name=Pirate Captain
entity.ancientwarfarenpc.pirate.leader.elite.name=Pirate Admiral
entity.ancientwarfarenpc.pirate.priest.name=Pirate Voodoo Witch
entity.ancientwarfarenpc.pirate.trader.name=Smuggler Dealer
entity.ancientwarfarenpc.pirate.civilian.male.name=Pirate Drunkard
entity.ancientwarfarenpc.pirate.civilian.female.name=Pirate Strumpet
entity.ancientwarfarenpc.pirate.bard.name=Pirate Shantyman
entity.ancientwarfarenpc.pirate.siege_engineer.name=Pirate Gunner
entity.ancientwarfarenpc.norska.soldier.name=Norska Warrior
entity.ancientwarfarenpc.norska.soldier.elite.name=Norska Berserker
entity.ancientwarfarenpc.norska.cavalry.name=Norska Ravager
entity.ancientwarfarenpc.norska.archer.name=Norska Archer
entity.ancientwarfarenpc.norska.archer.elite.name=Norska Swiftshooter
entity.ancientwarfarenpc.norska.mounted_archer.name=Norska Raider
entity.ancientwarfarenpc.norska.leader.name=Norska Jarl
entity.ancientwarfarenpc.norska.leader.elite.name=Norska Blood Jarl
entity.ancientwarfarenpc.norska.priest.name=Norska Runecaster
entity.ancientwarfarenpc.norska.trader.name=Norska Trader
entity.ancientwarfarenpc.norska.civilian.male.name=Norska Farmer
entity.ancientwarfarenpc.norska.civilian.female.name=Norska Matron
entity.ancientwarfarenpc.norska.bard.name=Norska Saga Teller
entity.ancientwarfarenpc.norska.siege_engineer.name=Norska Floki
entity.ancientwarfarenpc.empire.soldier.name=Empire Spearman
entity.ancientwarfarenpc.empire.soldier.elite.name=Empire Halberdier
entity.ancientwarfarenpc.empire.cavalry.name=Empire Knight
entity.ancientwarfarenpc.empire.archer.name=Empire Peasant
entity.ancientwarfarenpc.empire.archer.elite.name=Empire Archer
entity.ancientwarfarenpc.empire.mounted_archer.name=Empire Retainer
entity.ancientwarfarenpc.empire.leader.name=Empire Captain
entity.ancientwarfarenpc.empire.leader.elite.name=Empire Nobleman
entity.ancientwarfarenpc.empire.priest.name=Empire Priest
entity.ancientwarfarenpc.empire.trader.name=Empire Merchant
entity.ancientwarfarenpc.empire.civilian.male.name=Empire Serf
entity.ancientwarfarenpc.empire.civilian.female.name=Empire Goodwife
entity.ancientwarfarenpc.empire.bard.name=Empire Bard
entity.ancientwarfarenpc.empire.siege_engineer.name=Empire Artificier
entity.ancientwarfarenpc.nogg.soldier.name=Nogg Militiaman
entity.ancientwarfarenpc.nogg.soldier.elite.name=Nogg Adventurer
entity.ancientwarfarenpc.nogg.cavalry.name=Nogg Knight
entity.ancientwarfarenpc.nogg.archer.name=Nogg Forester
entity.ancientwarfarenpc.nogg.archer.elite.name=Nogg Archer
entity.ancientwarfarenpc.nogg.mounted_archer.name=Nogg Retainer
entity.ancientwarfarenpc.nogg.leader.name=Nogg Captain
entity.ancientwarfarenpc.nogg.leader.elite.name=Nogg Lord
entity.ancientwarfarenpc.nogg.priest.name=Nogg Healer
entity.ancientwarfarenpc.nogg.trader.name=Nogg Fairtrader
entity.ancientwarfarenpc.nogg.civilian.male.name=Nogg Man
entity.ancientwarfarenpc.nogg.civilian.female.name=Nogg Woman
entity.ancientwarfarenpc.nogg.bard.name=Nogg Songsmith
entity.ancientwarfarenpc.nogg.siege_engineer.name=Nogg Tinkerer
entity.ancientwarfarenpc.zimba.soldier.name=Zimba Warrior
entity.ancientwarfarenpc.zimba.soldier.elite.name=Zimba Impi
entity.ancientwarfarenpc.zimba.cavalry.name=Zimba Hero
entity.ancientwarfarenpc.zimba.archer.name=Zimba Bowman
entity.ancientwarfarenpc.zimba.archer.elite.name=Zimba Lookout
entity.ancientwarfarenpc.zimba.mounted_archer.name=Zimba Scout
entity.ancientwarfarenpc.zimba.leader.name=Zimba Induna
entity.ancientwarfarenpc.zimba.leader.elite.name=Zimba Chieftain
entity.ancientwarfarenpc.zimba.priest.name=Zimba Witchdoctor
entity.ancientwarfarenpc.zimba.trader.name=Zimba Haggler
entity.ancientwarfarenpc.zimba.civilian.male.name=Zimba Man
entity.ancientwarfarenpc.zimba.civilian.female.name=Zimba Woman
entity.ancientwarfarenpc.zimba.bard.name=Zimba Chanter
entity.ancientwarfarenpc.zimba.siege_engineer.name=Zimba Bigshot
entity.ancientwarfarenpc.buffloka.soldier.name= Buffloka Warrior
entity.ancientwarfarenpc.buffloka.soldier.elite.name=Buffloka Brave
entity.ancientwarfarenpc.buffloka.cavalry.name=Buffloka Raider
entity.ancientwarfarenpc.buffloka.archer.name=Buffloka Bowman
entity.ancientwarfarenpc.buffloka.archer.elite.name=Buffloka Lookout
entity.ancientwarfarenpc.buffloka.mounted_archer.name=Buffloka Hunter
entity.ancientwarfarenpc.buffloka.leader.name=Buffloka Chief
entity.ancientwarfarenpc.buffloka.leader.elite.name=Buffloka Big Chief
entity.ancientwarfarenpc.buffloka.priest.name=Buffloka Medicine Man
entity.ancientwarfarenpc.buffloka.trader.name=Buffloka Bargainer
entity.ancientwarfarenpc.buffloka.civilian.male.name=Buffloka Man
entity.ancientwarfarenpc.buffloka.civilian.female.name=Buffloka Woman
entity.ancientwarfarenpc.buffloka.bard.name=Buffloka Legendweaver
entity.ancientwarfarenpc.buffloka.siege_engineer.name=Buffloka Bigshot
entity.ancientwarfarenpc.orc.soldier.name=Orc
entity.ancientwarfarenpc.orc.soldier.elite.name=Uruk
entity.ancientwarfarenpc.orc.cavalry.name=Orc Warlord
entity.ancientwarfarenpc.orc.archer.name=Orc Arrow lobber
entity.ancientwarfarenpc.orc.archer.elite.name=Orc Lookout
entity.ancientwarfarenpc.orc.mounted_archer.name=Orc Ravager
entity.ancientwarfarenpc.orc.leader.name=Orc Clan Lord
entity.ancientwarfarenpc.orc.leader.elite.name=Orc Warlord
entity.ancientwarfarenpc.orc.priest.name=Orc Shaman
entity.ancientwarfarenpc.orc.trader.name=Orc Cheater
entity.ancientwarfarenpc.orc.civilian.male.name=Orc Runt
entity.ancientwarfarenpc.orc.civilian.female.name=Orc Breeder
entity.ancientwarfarenpc.orc.bard.name=Orc Braggart
entity.ancientwarfarenpc.orc.siege_engineer.name=Bugbear Bigshot
entity.ancientwarfarenpc.evil.soldier.name=Malice Guard
entity.ancientwarfarenpc.evil.soldier.elite.name=Malice Monster
entity.ancientwarfarenpc.evil.cavalry.name=Malice Knight
entity.ancientwarfarenpc.evil.archer.name=Malice Cultist
entity.ancientwarfarenpc.evil.archer.elite.name=Malice Servent
entity.ancientwarfarenpc.evil.mounted_archer.name=Malice Death Rider
entity.ancientwarfarenpc.evil.leader.name=Malice Warlord
entity.ancientwarfarenpc.evil.leader.elite.name=Malice Master
entity.ancientwarfarenpc.evil.priest.name=Malice Cult Hierarch
entity.ancientwarfarenpc.evil.trader.name=Malice Bargainer
entity.ancientwarfarenpc.evil.civilian.male.name=Malice Slave
entity.ancientwarfarenpc.evil.civilian.female.name=Malice Concubine
entity.ancientwarfarenpc.evil.bard.name=Malice Spell Chanter
entity.ancientwarfarenpc.evil.siege_engineer.name=Malice Artificier
entity.ancientwarfarenpc.good.soldier.name=Guardian Greenwood Ranger
entity.ancientwarfarenpc.good.soldier.elite.name=Guardian Druidic Construct
entity.ancientwarfarenpc.good.cavalry.name=Guardian Questing Knight
entity.ancientwarfarenpc.good.archer.name=Guardian Greenwood Archer
entity.ancientwarfarenpc.good.archer.elite.name=Guardian Greenwood Elf Archer
entity.ancientwarfarenpc.good.mounted_archer.name=Guardian Hooded Man
entity.ancientwarfarenpc.good.leader.name=Guardian Goodly Warlord
entity.ancientwarfarenpc.good.leader.elite.name=Guardian Great Wizard
entity.ancientwarfarenpc.good.priest.name=Guardian Druid
entity.ancientwarfarenpc.good.trader.name=Guardian Fair Trader
entity.ancientwarfarenpc.good.civilian.male.name=Guardian Good Man
entity.ancientwarfarenpc.good.civilian.female.name=Guardian Good Wife
entity.ancientwarfarenpc.good.bard.name=Guardian Fable Teller
entity.ancientwarfarenpc.good.siege_engineer.name=Guardian Weaponsmith
entity.ancientwarfarenpc.demon.soldier.name=Demon Red Guard
entity.ancientwarfarenpc.demon.soldier.elite.name=Demon Red Lord
entity.ancientwarfarenpc.demon.cavalry.name=Demon Knight of Hell
entity.ancientwarfarenpc.demon.archer.name=Demon Skeleton
entity.ancientwarfarenpc.demon.archer.elite.name=Demon Guard
entity.ancientwarfarenpc.demon.mounted_archer.name=Demon Hell Rider
entity.ancientwarfarenpc.demon.leader.name=Demon Warlord
entity.ancientwarfarenpc.demon.leader.elite.name=Demon Archfiend
entity.ancientwarfarenpc.demon.priest.name=Demon Fire Queen
entity.ancientwarfarenpc.demon.trader.name=Demon Soul Counter
entity.ancientwarfarenpc.demon.civilian.male.name=Demon Pig Cursed
entity.ancientwarfarenpc.demon.civilian.female.name=Damned Soul
entity.ancientwarfarenpc.demon.bard.name=Demon Jester
entity.ancientwarfarenpc.demon.siege_engineer.name=Demon Death Thrower
entity.ancientwarfarenpc.xoltec.soldier.name=Xoltec Spearman
entity.ancientwarfarenpc.xoltec.soldier.elite.name=Xoltec Jaguar Knight
entity.ancientwarfarenpc.xoltec.cavalry.name=Xoltec Temple Guard
entity.ancientwarfarenpc.xoltec.archer.name=Xoltec Archer
entity.ancientwarfarenpc.xoltec.archer.elite.name=Xoltec Eagle Knight
entity.ancientwarfarenpc.xoltec.mounted_archer.name=Xoltec Falcon Knight
entity.ancientwarfarenpc.xoltec.leader.name=Xoltec Warlord
entity.ancientwarfarenpc.xoltec.leader.elite.name=Xoltec Noble
entity.ancientwarfarenpc.xoltec.priest.name=Xoltec Heart-Reaper
entity.ancientwarfarenpc.xoltec.trader.name=Xoltec Trader
entity.ancientwarfarenpc.xoltec.civilian.male.name=Xoltec Slave
entity.ancientwarfarenpc.xoltec.civilian.female.name=Xoltec Child Bearer
entity.ancientwarfarenpc.xoltec.bard.name=Xoltec Codex Keeper
entity.ancientwarfarenpc.xoltec.siege_engineer.name=Xoltec Artificier
entity.ancientwarfarenpc.undead.soldier.name=Undead Swordsman
entity.ancientwarfarenpc.undead.soldier.elite.name=Undead Ravener
entity.ancientwarfarenpc.undead.cavalry.name=Undead Wraith Rider
entity.ancientwarfarenpc.undead.archer.name=Undead Archer
entity.ancientwarfarenpc.undead.archer.elite.name=Undead Disciple
entity.ancientwarfarenpc.undead.mounted_archer.name=Undead Ghost Rider
entity.ancientwarfarenpc.undead.leader.name=Undead Lord
entity.ancientwarfarenpc.undead.leader.elite.name=Undead King
entity.ancientwarfarenpc.undead.priest.name=Undead Lich
entity.ancientwarfarenpc.undead.trader.name=Undead Blood Bargainer
entity.ancientwarfarenpc.undead.civilian.male.name=Vampire Bride
entity.ancientwarfarenpc.undead.civilian.female.name=Undead Creature
entity.ancientwarfarenpc.undead.bard.name=Undead Queen
entity.ancientwarfarenpc.undead.siege_engineer.name=Undead Artificier
entity.ancientwarfarenpc.witchbane.soldier.name=Witchbane Spearman
entity.ancientwarfarenpc.witchbane.soldier.elite.name=Witchbane Sergeant
entity.ancientwarfarenpc.witchbane.cavalry.name=Witchbane Knight
entity.ancientwarfarenpc.witchbane.archer.name=Witchbane Archer
entity.ancientwarfarenpc.witchbane.archer.elite.name=Witchbane Sentry
entity.ancientwarfarenpc.witchbane.mounted_archer.name=Witchbane Retainer
entity.ancientwarfarenpc.witchbane.leader.name=Witchbane Baron
entity.ancientwarfarenpc.witchbane.leader.elite.name=Witchbane Duke
entity.ancientwarfarenpc.witchbane.priest.name=Witchbane Priest
entity.ancientwarfarenpc.witchbane.trader.name=Witchbane Trader
entity.ancientwarfarenpc.witchbane.civilian.male.name=Witchbane Monk
entity.ancientwarfarenpc.witchbane.civilian.female.name=Witchbane Nun
entity.ancientwarfarenpc.witchbane.bard.name=Witchbane Hymn Singer
entity.ancientwarfarenpc.witchbane.siege_engineer.name=Witchbane Artificier
entity.ancientwarfarenpc.barbarian.soldier.name=Barbarian Warrior
entity.ancientwarfarenpc.barbarian.archer.name=Barbarian Archer
entity.ancientwarfarenpc.barbarian.leader.name=Barbarian Chief
entity.ancientwarfarenpc.minossian.soldier.elite.name=Minossian Warrior
entity.ancientwarfarenpc.minossian.leader.name=Minossian Bull Golem
entity.ancientwarfarenpc.minossian.leader.elite.name=Minossian Chief
entity.ancientwarfarenpc.lizardman.archer.name=Lizardman Archer
entity.ancientwarfarenpc.lizardman.soldier.name=Lizardman Warrior
entity.ancientwarfarenpc.elite.soldier.name=Lizardman Berserker
entity.ancientwarfarenpc.lizardman.leader.name=Lizardman Chief
entity.ancientwarfarenpc.rakshasa.soldier.elite.name=Rakshasa Tiger Warrior
entity.ancientwarfarenpc.rakshasa.leader.elite.name=Rakshasa Lord
entity.ancientwarfarenpc.guild.trader.name=Merchant Guild Trader
entity.ancientwarfarenpc.guild.soldier.name=Merchant Guild Guard
entity.ancientwarfarenpc.guild.archer.name=Merchant Guild Archer
entity.ancientwarfarenpc.guild.leader.name=Merchant Guild Captain
entity.ancientwarfarenpc.coven.archer.name=Coven Satyr Archer
entity.ancientwarfarenpc.coven.archer.elite.name=Coven Dryad Sentinel
entity.ancientwarfarenpc.coven.soldier.name=Coven Scarecrow
entity.ancientwarfarenpc.coven.soldier.elite.name=Coven Witch Puppet
entity.ancientwarfarenpc.coven.leader.elite.name=Coven Green Man
entity.ancientwarfarenpc.coven.leader.name=Coven Leader
entity.ancientwarfarenpc.coven.cavalry.name=Coven Headless Horseman
entity.ancientwarfarenpc.coven.priest.name=Coven Witch
entity.ancientwarfarenpc.coven.trader.name=Coven Enchantress
entity.ancientwarfarenpc.klown.soldier.elite.name=Killer Klown
entity.ancientwarfarenpc.klown.leader.elite.name=Killer Klown IT
entity.ancientwarfarenpc.ishtari.archer.name=Ishtari High Priest
entity.ancientwarfarenpc.ishtari.soldier.name=Ishtari Mummy
entity.ancientwarfarenpc.ishtari.soldier.elite.name=Ishtari Zombie
entity.ancientwarfarenpc.ishtari.priest.name=Ishtari Priest
entity.ancientwarfarenpc.ishtari.leader.name=Ishtari Anubite
entity.ancientwarfarenpc.ishtari.leader.elite.name=Ishtari Pharoah
entity.ancientwarfarenpc.icelord.archer.name=Icelord Archer
entity.ancientwarfarenpc.icelord.archer.elite.name=Icelord Sentinel
entity.ancientwarfarenpc.icelord.soldier.name=Icelord Zombie
entity.ancientwarfarenpc.icelord.soldier.elite.name=Icelord Beast
entity.ancientwarfarenpc.icelord.cavalry.name=Icelord Revenent
entity.ancientwarfarenpc.icelord.mounted_archer.name=Icelord Skeleton Archer
entity.ancientwarfarenpc.icelord.priest.name=Icelord Cold Liche
entity.ancientwarfarenpc.icelord.leader.name=Icelord Leader
entity.ancientwarfarenpc.icelord.leader.elite.name=Icelord King
entity.ancientwarfarenpc.amazon.archer.name=Amazon Widowmaker
entity.ancientwarfarenpc.amazon.archer.elite.name=Amazon Sentinel
entity.ancientwarfarenpc.amazon.soldier.name=Amazon Mankiller
entity.ancientwarfarenpc.amazon.soldier.elite.name=Amazon Heroine
entity.ancientwarfarenpc.amazon.cavalry.name=Amazon Cataphract
entity.ancientwarfarenpc.amazon.mounted_archer.name=Amazon Headhunter
entity.ancientwarfarenpc.amazon.trader.name=Amazon Bargainer
entity.ancientwarfarenpc.amazon.priest.name=Amazon Priestess
entity.ancientwarfarenpc.amazon.leader.name=Amazon Princess
entity.ancientwarfarenpc.amazon.leader.elite.name=Amazon Queen
entity.ancientwarfarenpc.amazon.civilian.male.name=Amazon Male Slave
entity.ancientwarfarenpc.amazon.civilian.female.name=Amazon Childbearer
entity.ancientwarfarenpc.amazon.bard.name=Amazon Singer
entity.ancientwarfarenpc.amazon.siege_engineer.name=Amazon Warmaker
entity.ancientwarfarenpc.monster.soldier.name=Horrible Monster
entity.ancientwarfarenpc.monster.soldier.elite.name=Savage Monster
entity.ancientwarfarenpc.monster.leader.name=Ravenous Monster
entity.ancientwarfarenpc.monster.leader.elite.name=Horrific Monster
Obviously, you dont need all of that name string for each entity. You probably just need - entity.ancientwarfarenpc.brigand.cavalry - for example. Not sure if any of this helps you, but if it does, could you let me know? And whether or not you get around the despawn problem I encountered before?
And just a word of warning - in the next update a lot of new factions get added and a lot of the above naming gets changed - so a lot of the work you do now on that list will need to be redone after the update.
You might also try for advice on the BiomeTweaker discord: https://discord.gg/anKT7YX