![]() |
tModLoader v2025.03
A mod to make and play Terraria mods
|
Used when an NPC or Projectile is killed and drops loot.
Vanilla projectile examples are geodes and life crystal boulders
More...
Inherits EntitySource_Parent.
Public Member Functions | |
EntitySource_Loot (Entity entity, string? context=null) | |
![]() | |
EntitySource_Parent (Entity entity, string? context=null) | |
Additional Inherited Members | |
![]() | |
string? | Context [get] |
Additional context identifier, particularly useful for set bonuses or accessory affects. See ItemSourceID and ProjectileSourceID for vanilla uses More... | |
Entity | Entity [get] |
The entity which is the source of the effect or action. In many cases, it makes sense to consider buffs or effects applied to the parent entity, and make changes to the spawned entity. | |
![]() | |
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 or Projectile is killed and drops loot.
Vanilla projectile examples are geodes and life crystal boulders