tModLoader v2025.03
A mod to make and play Terraria mods
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
ITownNPCProfile Interface Reference

Inherited by Profiles.DefaultNPCProfile, Profiles.LegacyNPCProfile, Profiles.StackedNPCProfile, Profiles.TransformableNPCProfile, and Profiles.VariantNPCProfile.

Public Member Functions

int GetHeadTextureIndex (NPC npc)
 
string GetNameForVariant (NPC npc)
 
Asset< Texture2D > GetTextureNPCShouldUse (NPC npc)
 
int RollVariation ()