tModLoader v2022.09
A mod to make and play Terraria mods
|
Used for when NPCs or other entities are caught by things like bug nets. More...
Inherits Terraria.DataStructures.IEntitySource.
Public Member Functions | |
EntitySource_CatchEntity (Entity entity, Entity caughtEntity, string? context=null) | |
Public Attributes | |
readonly Entity | CaughtEntity |
The entity which was caught by the Entity. In the vast majority of cases, this will be an NPC. | |
readonly Entity | Entity |
The entity which performed the act of catching the CaughtEntity. In the vast majority of cases, this will be a Player. | |
Properties | |
string? | Context [get] |
Properties inherited from Terraria.DataStructures.IEntitySource | |
string? | Context [get] |
Used for when NPCs or other entities are caught by things like bug nets.
|
get |
Implements Terraria.DataStructures.IEntitySource.