tModLoader v2024.09
A mod to make and play Terraria mods
|
Used for most vanilla bosses, conveys their initial target, which is normally the closest player. More...
Inherits IEntitySource.
Public Member Functions | |
EntitySource_BossSpawn (Entity target, 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... | |
Entity | Target [get] |
The entity which this boss spawn on. In the vast majority of cases, this will be a Player. Often NPC.target will be set to Player.whoAmI | |
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 for most vanilla bosses, conveys their initial target, which is normally the closest player.
|
get |
Additional context identifier, particularly useful for set bonuses or accessory affects. See ItemSourceID and ProjectileSourceID for vanilla uses
Implements IEntitySource.