tModLoader v2024.09
A mod to make and play Terraria mods
|
Used when an NPC is spawned from 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...
Inherits IEntitySource.
Public Member Functions | |
EntitySource_SpawnNPC (string? context=null) | |
Properties | |
string? | Context [get] |
Additional context identifier, particularly useful for set bonuses or accessory affects. See ItemSourceID and ProjectileSourceID for vanilla uses More... | |
Properties inherited from IEntitySource | |
string? | Context [get] |
Additional context identifier, particularly useful for set bonuses or accessory affects. See ItemSourceID and ProjectileSourceID for vanilla uses More... | |
Used when an NPC is spawned from 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)
|
get |
Additional context identifier, particularly useful for set bonuses or accessory affects. See ItemSourceID and ProjectileSourceID for vanilla uses
Implements IEntitySource.