TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ BossBar

IBigProgressBar Terraria.NPC.BossBar
getset

Assign a special boss bar, vanilla or modded. Not used by vanilla.

To assign a modded boss bar, use NPC.BossBar = ModContent.GetInstance<ExampleBossBar>(); where ExampleBossBar is a ModBossBar

To assign a vanilla boss bar for whatever reason, fetch it first through the NPC type using Main.BigBossProgressBar.TryGetSpecialVanillaBossBar

Definition at line 1612 of file NPC.cs.

1612{ get; set; }

Referenced by Terraria.ModLoader.BossBarLoader.NpcToBossBar(), and Terraria.NPC.SetDefaults().