|
TModLoader v1.4.4.9
TModLoader source code documentation
|
Used when an NPC is spawned from M:Terraria.NPC.SpawnNPC as part of natural biome/event based spawning.
Note that some bosses incorrectly use this source to spawn minions, and remix world pots use it to spawn slimes. (to be fixed in 1.4.5)
More...
Inheritance diagram for Terraria.DataStructures.EntitySource_SpawnNPC:
Collaboration diagram for Terraria.DataStructures.EntitySource_SpawnNPC:Public Member Functions | |
| EntitySource_SpawnNPC (string? context=null) | |
Static Package Functions | |
| static ? IEntitySource | GetGoreFallback () |
| static FallbackSourceRef | PushFallback (IEntitySource source) |
Properties | |
| string? | Context [get] |
| Additional context identifier, particularly useful for set bonuses or accessory affects. See T:Terraria.ID.ItemSourceID and T:Terraria.ID.ProjectileSourceID for vanilla uses. | |
Static Private Attributes | |
| static ? IEntitySource | _goreFallback |
Used when an NPC is spawned from M:Terraria.NPC.SpawnNPC as part of natural biome/event based spawning.
Note that some bosses incorrectly use this source to spawn minions, and remix world pots use it to spawn slimes. (to be fixed in 1.4.5)
Definition at line 7 of file EntitySource_SpawnNPC.cs.