tModLoader v2024.10
A mod to make and play Terraria mods
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 ()