tModLoader v2023.01
A mod to make and play Terraria mods
Terraria.ModLoader.GlobalNPC Member List

This is the complete list of members for Terraria.ModLoader.GlobalNPC, including all inherited members.

AI(NPC npc)Terraria.ModLoader.GlobalNPCvirtual
AppliesToEntity(TEntity entity, bool lateInstantiation)Terraria.ModLoader.GlobalType< NPC, GlobalNPC >virtual
BossHeadRotation(NPC npc, ref float rotation)Terraria.ModLoader.GlobalNPCvirtual
BossHeadSlot(NPC npc, ref int index)Terraria.ModLoader.GlobalNPCvirtual
BossHeadSpriteEffects(NPC npc, ref SpriteEffects spriteEffects)Terraria.ModLoader.GlobalNPCvirtual
BuffTownNPC(ref float damageMult, ref int defense)Terraria.ModLoader.GlobalNPCvirtual
CanBeCaughtBy(NPC npc, Item item, Player player)Terraria.ModLoader.GlobalNPCvirtual
CanBeHitByItem(NPC npc, Player player, Item item)Terraria.ModLoader.GlobalNPCvirtual
CanBeHitByProjectile(NPC npc, Projectile projectile)Terraria.ModLoader.GlobalNPCvirtual
CanChat(NPC npc)Terraria.ModLoader.GlobalNPCvirtual
CanFallThroughPlatforms(NPC npc)Terraria.ModLoader.GlobalNPCvirtual
CanGoToStatue(NPC npc, bool toKingStatue)Terraria.ModLoader.GlobalNPCvirtual
CanHitNPC(NPC npc, NPC target)Terraria.ModLoader.GlobalNPCvirtual
CanHitPlayer(NPC npc, Player target, ref int cooldownSlot)Terraria.ModLoader.GlobalNPCvirtual
CheckActive(NPC npc)Terraria.ModLoader.GlobalNPCvirtual
CheckDead(NPC npc)Terraria.ModLoader.GlobalNPCvirtual
Clone(TEntity from, TEntity to)Terraria.ModLoader.GlobalType< NPC, GlobalNPC >virtual
Terraria::ModLoader::ModType.Clone(TEntity newEntity)Terraria.ModLoader.ModType< TEntity, TModType >virtual
CloneNewInstancesTerraria.ModLoader.GlobalType< NPC, GlobalNPC >protected
CreateTemplateEntity() (defined in Terraria.ModLoader.ModType< TEntity, TModType >)Terraria.ModLoader.ModType< TEntity, TModType >protectedpure virtual
DrawBehind(NPC npc, int index)Terraria.ModLoader.GlobalNPCvirtual
DrawEffects(NPC npc, ref Color drawColor)Terraria.ModLoader.GlobalNPCvirtual
DrawHealthBar(NPC npc, byte hbPosition, ref float scale, ref Vector2 position)Terraria.ModLoader.GlobalNPCvirtual
DrawTownAttackGun(NPC npc, ref float scale, ref int item, ref int closeness)Terraria.ModLoader.GlobalNPCvirtual
DrawTownAttackSwing(NPC npc, ref Texture2D item, ref int itemSize, ref float scale, ref Vector2 offset)Terraria.ModLoader.GlobalNPCvirtual
EditSpawnPool(IDictionary< int, float > pool, NPCSpawnInfo spawnInfo)Terraria.ModLoader.GlobalNPCvirtual
EditSpawnRange(Player player, ref int spawnRangeX, ref int spawnRangeY, ref int safeRangeX, ref int safeRangeY)Terraria.ModLoader.GlobalNPCvirtual
EditSpawnRate(Player player, ref int spawnRate, ref int maxSpawns)Terraria.ModLoader.GlobalNPCvirtual
Entity (defined in Terraria.ModLoader.ModType< TEntity, TModType >)Terraria.ModLoader.ModType< TEntity, TModType >
FindFrame(NPC npc, int frameHeight)Terraria.ModLoader.GlobalNPCvirtual
FullNameTerraria.ModLoader.ModType< TEntity, TModType >
GetAlpha(NPC npc, Color drawColor)Terraria.ModLoader.GlobalNPCvirtual
GetChat(NPC npc, ref string chat)Terraria.ModLoader.GlobalNPCvirtual
HitEffect(NPC npc, int hitDirection, double damage)Terraria.ModLoader.GlobalNPCvirtual
InitTemplateInstance()Terraria.ModLoader.ModType< TEntity, TModType >protectedvirtual
InitTemplateInstance()Terraria.ModLoader.ModType< TEntity, TModType >protectedvirtual
Instance(NPC npc) (defined in Terraria.ModLoader.GlobalNPC)Terraria.ModLoader.GlobalNPC
InstancePerEntityTerraria.ModLoader.GlobalType< NPC, GlobalNPC >
IsCloneableTerraria.ModLoader.GlobalType< NPC, GlobalNPC >
IsLoadingEnabled(Mod mod)Terraria.ModLoader.ModType< TEntity, TModType >virtual
Load()Terraria.ModLoader.ModType< TEntity, TModType >virtual
LoadData(NPC npc, TagCompound tag)Terraria.ModLoader.GlobalNPCvirtual
ModTerraria.ModLoader.ModType< TEntity, TModType >
ModifyCollisionData(NPC npc, Rectangle victimHitbox, ref int immunityCooldownSlot, ref float damageMultiplier, ref Rectangle npcHitbox)Terraria.ModLoader.GlobalNPCvirtual
ModifyGlobalLoot(GlobalLoot globalLoot)Terraria.ModLoader.GlobalNPCvirtual
ModifyHitByItem(NPC npc, Player player, Item item, ref int damage, ref float knockback, ref bool crit)Terraria.ModLoader.GlobalNPCvirtual
ModifyHitByProjectile(NPC npc, Projectile projectile, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)Terraria.ModLoader.GlobalNPCvirtual
ModifyHitNPC(NPC npc, NPC target, ref int damage, ref float knockback, ref bool crit)Terraria.ModLoader.GlobalNPCvirtual
ModifyHitPlayer(NPC npc, Player target, ref int damage, ref bool crit)Terraria.ModLoader.GlobalNPCvirtual
ModifyHoverBoundingBox(NPC npc, ref Rectangle boundingBox)Terraria.ModLoader.GlobalNPCvirtual
ModifyNPCLoot(NPC npc, NPCLoot npcLoot)Terraria.ModLoader.GlobalNPCvirtual
ModifyNPCNameList(NPC npc, List< string > nameList)Terraria.ModLoader.GlobalNPCvirtual
ModifyTownNPCProfile(NPC npc)Terraria.ModLoader.GlobalNPCvirtual
ModifyTypeName(NPC npc, ref string typeName)Terraria.ModLoader.GlobalNPCvirtual
NameTerraria.ModLoader.ModType< TEntity, TModType >
NeedSaving(NPC npc)Terraria.ModLoader.GlobalNPCvirtual
NewInstance(TEntity target)Terraria.ModLoader.GlobalType< NPC, GlobalNPC >virtual
OnCaughtBy(NPC npc, Player player, Item item, bool failed)Terraria.ModLoader.GlobalNPCvirtual
OnChatButtonClicked(NPC npc, bool firstButton)Terraria.ModLoader.GlobalNPCvirtual
OnGoToStatue(NPC npc, bool toKingStatue)Terraria.ModLoader.GlobalNPCvirtual
OnHitByItem(NPC npc, Player player, Item item, int damage, float knockback, bool crit)Terraria.ModLoader.GlobalNPCvirtual
OnHitByProjectile(NPC npc, Projectile projectile, int damage, float knockback, bool crit)Terraria.ModLoader.GlobalNPCvirtual
OnHitNPC(NPC npc, NPC target, int damage, float knockback, bool crit)Terraria.ModLoader.GlobalNPCvirtual
OnHitPlayer(NPC npc, Player target, int damage, bool crit)Terraria.ModLoader.GlobalNPCvirtual
OnKill(NPC npc)Terraria.ModLoader.GlobalNPCvirtual
OnSpawn(NPC npc, IEntitySource source)Terraria.ModLoader.GlobalNPCvirtual
PostAI(NPC npc)Terraria.ModLoader.GlobalNPCvirtual
PostDraw(NPC npc, SpriteBatch spriteBatch, Vector2 screenPos, Color drawColor)Terraria.ModLoader.GlobalNPCvirtual
PreAI(NPC npc)Terraria.ModLoader.GlobalNPCvirtual
PreChatButtonClicked(NPC npc, bool firstButton)Terraria.ModLoader.GlobalNPCvirtual
PreDraw(NPC npc, SpriteBatch spriteBatch, Vector2 screenPos, Color drawColor)Terraria.ModLoader.GlobalNPCvirtual
PreKill(NPC npc)Terraria.ModLoader.GlobalNPCvirtual
ReceiveExtraAI(NPC npc, BitReader bitReader, BinaryReader binaryReader)Terraria.ModLoader.GlobalNPCvirtual
Register()Terraria.ModLoader.GlobalNPCprotectedvirtual
ResetEffects(NPC npc)Terraria.ModLoader.GlobalNPCvirtual
SaveData(NPC npc, TagCompound tag)Terraria.ModLoader.GlobalNPCvirtual
ScaleExpertStats(NPC npc, int numPlayers, float bossLifeScale)Terraria.ModLoader.GlobalNPCvirtual
SendExtraAI(NPC npc, BitWriter bitWriter, BinaryWriter binaryWriter)Terraria.ModLoader.GlobalNPCvirtual
SetBestiary(NPC npc, BestiaryDatabase database, BestiaryEntry bestiaryEntry)Terraria.ModLoader.GlobalNPCvirtual
SetDefaults(NPC npc)Terraria.ModLoader.GlobalNPCvirtual
SetStaticDefaults()Terraria.ModLoader.ModType< TEntity, TModType >virtual
SetupContent()Terraria.ModLoader.GlobalNPCvirtual
SetupShop(int type, Chest shop, ref int nextSlot)Terraria.ModLoader.GlobalNPCvirtual
SetupTravelShop(int[] shop, ref int nextSlot)Terraria.ModLoader.GlobalNPCvirtual
SpawnNPC(int npc, int tileX, int tileY)Terraria.ModLoader.GlobalNPCvirtual
SpecialOnKill(NPC npc)Terraria.ModLoader.GlobalNPCvirtual
StrikeNPC(NPC npc, ref double damage, int defense, ref float knockback, int hitDirection, ref bool crit)Terraria.ModLoader.GlobalNPCvirtual
TownNPCAttackCooldown(NPC npc, ref int cooldown, ref int randExtraCooldown)Terraria.ModLoader.GlobalNPCvirtual
TownNPCAttackMagic(NPC npc, ref float auraLightMultiplier)Terraria.ModLoader.GlobalNPCvirtual
TownNPCAttackProj(NPC npc, ref int projType, ref int attackDelay)Terraria.ModLoader.GlobalNPCvirtual
TownNPCAttackProjSpeed(NPC npc, ref float multiplier, ref float gravityCorrection, ref float randomOffset)Terraria.ModLoader.GlobalNPCvirtual
TownNPCAttackShoot(NPC npc, ref bool inBetweenShots)Terraria.ModLoader.GlobalNPCvirtual
TownNPCAttackStrength(NPC npc, ref int damage, ref float knockback)Terraria.ModLoader.GlobalNPCvirtual
TownNPCAttackSwing(NPC npc, ref int itemWidth, ref int itemHeight)Terraria.ModLoader.GlobalNPCvirtual
Unload()Terraria.ModLoader.ModType< TEntity, TModType >virtual
UpdateLifeRegen(NPC npc, ref int damage)Terraria.ModLoader.GlobalNPCvirtual
ValidateType()Terraria.ModLoader.GlobalType< NPC, GlobalNPC >protectedvirtual