tModLoader v2024.09
A mod to make and play Terraria mods
EntitySource_Misc Class Reference

To be used in cases where no entity is present. See ItemSourceID and ProjectileSourceID for vanilla valuesNOTE: Unlike most other entity sources, this one requires Context to be specified. More...

Inherits IEntitySource.

Public Member Functions

 EntitySource_Misc (string context)
 

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...
 

Detailed Description

To be used in cases where no entity is present. See ItemSourceID and ProjectileSourceID for vanilla values

NOTE: Unlike most other entity sources, this one requires Context to be specified.

Property Documentation

◆ Context

string EntitySource_Misc.Context
get

Additional context identifier, particularly useful for set bonuses or accessory affects. See ItemSourceID and ProjectileSourceID for vanilla uses

Implements IEntitySource.