|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
static |
Associates an NPC type (F:Terraria.NPC.type) with the index in F:Terraria.GameContent.TextureAssets.NpcHeadBoss of its default map icon.
Auto-set using T:Terraria.ModLoader.AutoloadBossHead.
Defaults to -1.
If you need to dynamically change your boss's head icon, use M:Terraria.ModLoader.ModNPC.BossHeadSlot(System.Int32@) and M:Terraria.ModLoader.NPCHeadLoader.GetBossHeadSlot(System.String).
If you need an NPC's current head index, using M:Terraria.NPC.GetBossHeadTextureIndex, which handles phase changes.
Definition at line 562 of file NPCID.cs.
Referenced by Terraria.ID.NPCID.Sets.Sets(), Terraria.GameContent.UI.BigProgressBar.BrainOfCthuluBigProgressBar.Draw(), Terraria.GameContent.UI.BigProgressBar.EaterOfWorldsProgressBar.Draw(), Terraria.GameContent.UI.BigProgressBar.GolemHeadProgressBar.Draw(), Terraria.GameContent.UI.BigProgressBar.MartianSaucerBigProgressBar.Draw(), Terraria.GameContent.UI.BigProgressBar.MoonLordProgressBar.Draw(), Terraria.GameContent.UI.BigProgressBar.PirateShipBigProgressBar.Draw(), Terraria.NPC.GetBossHeadTextureIndex(), and Terraria.ModLoader.NPCHeadLoader.ResizeAndFillArrays().