tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.ModLoader.NPCLoader Member List

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

AddModHook< T >(T hook) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
AI(NPC npc) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
blockLootTerraria.ModLoader.NPCLoaderstatic
BossHeadRotation(NPC npc, ref float rotation) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
BossHeadSlot(NPC npc, ref int index) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
BossHeadSpriteEffects(NPC npc, ref SpriteEffects spriteEffects) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
BossLoot(NPC npc, ref string name, ref int potionType) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
BuffTownNPC(ref float damageMult, ref int defense) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
CanBeCaughtBy(NPC npc, Item item, Player player) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
CanBeHitByItem(NPC npc, Player player, Item item) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
CanBeHitByProjectile(NPC npc, Projectile projectile) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
CanChat(NPC npc, bool vanillaCanChat) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
CanFallThroughPlatforms(NPC npc) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
CanGoToStatue(NPC npc, bool toKingStatue, bool vanillaCanGo) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
CanHitNPC(NPC npc, NPC target) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
CanHitPlayer(NPC npc, Player target, ref int cooldownSlot) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
CanTownNPCSpawn(int numTownNPCs, int money) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
CheckActive(NPC npc) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
CheckConditions(int type) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
CheckDead(NPC npc) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
ChooseSpawn(NPCSpawnInfo spawnInfo) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
DrawEffects(NPC npc, ref Color drawColor) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
DrawHealthBar(NPC npc, ref float scale) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
DrawTownAttackGun(NPC npc, ref float scale, ref int item, ref int closeness) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
DrawTownAttackSwing(NPC npc, ref Texture2D item, ref int itemSize, ref float scale, ref Vector2 offset) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
EditSpawnRange(Player player, ref int spawnRangeX, ref int spawnRangeY, ref int safeRangeX, ref int safeRangeY) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
EditSpawnRate(Player player, ref int spawnRate, ref int maxSpawns) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
FindFrame(NPC npc, int frameHeight) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
GetAlpha(NPC npc, Color lightColor) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
GetChat(NPC npc, ref string chat) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
GetNPC(int type)Terraria.ModLoader.NPCLoaderstatic
HitEffect(NPC npc, int hitDirection, double damage) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
ModifyGlobalLoot(GlobalLoot globalLoot) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
ModifyHitByItem(NPC npc, Player player, Item item, ref int damage, ref float knockback, ref bool crit) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
ModifyHitByProjectile(NPC npc, Projectile projectile, ref int damage, ref float knockback, ref bool crit, ref int hitDirection) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
ModifyHitNPC(NPC npc, NPC target, ref int damage, ref float knockback, ref bool crit) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
ModifyHitPlayer(NPC npc, Player target, ref int damage, ref bool crit) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
ModifyHoverBoundingBox(NPC npc, ref Rectangle boundingBox) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
ModifyNPCLoot(NPC npc, NPCLoot npcLoot) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
ModifyNPCNameList(NPC npc, List< string > nameList) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
ModifyTownNPCProfile(NPC npc, ref ITownNPCProfile profile) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
ModifyTypeName(NPC npc, ref string typeName) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
NPCAI(NPC npc) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
NPCCount (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
OnCaughtBy(NPC npc, Player player, Item item, bool failed) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
OnChatButtonClicked(bool firstButton) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
OnGoToStatue(NPC npc, bool toKingStatue) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
OnHitByItem(NPC npc, Player player, Item item, int damage, float knockback, bool crit) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
OnHitByProjectile(NPC npc, Projectile projectile, int damage, float knockback, bool crit) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
OnHitNPC(NPC npc, NPC target, int damage, float knockback, bool crit) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
OnHitPlayer(NPC npc, Player target, int damage, bool crit) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
OnKill(NPC npc) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
PostAI(NPC npc) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
PostDraw(NPC npc, SpriteBatch spriteBatch, Vector2 screenPos, Color drawColor) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
PreAI(NPC npc) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
PreChatButtonClicked(bool firstButton) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
PreDraw(NPC npc, SpriteBatch spriteBatch, Vector2 screenPos, Color drawColor) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
PreKill(NPC npc) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
ReadExtraAI(BinaryReader reader) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
ReceiveExtraAI(NPC npc, byte[] extraAI) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
ResetEffects(NPC npc) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
SavesAndLoads(NPC npc) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
ScaleExpertStats(NPC npc, int numPlayers, float bossLifeScale) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
SendExtraAI(BinaryWriter writer, byte[] extraAI) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
SetBestiary(NPC npc, BestiaryDatabase database, BestiaryEntry bestiaryEntry) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
SetChatButtons(ref string button, ref string button2) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
SetupShop(int type, Chest shop, ref int nextSlot) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
SetupTravelShop(int[] shop, ref int nextSlot) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
SpawnNPC(int type, int tileX, int tileY) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
SpecialOnKill(NPC npc) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
StrikeNPC(NPC npc, ref double damage, int defense, ref float knockback, int hitDirection, ref bool crit) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
TownNPCAttackCooldown(NPC npc, ref int cooldown, ref int randExtraCooldown) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
TownNPCAttackMagic(NPC npc, ref float auraLightMultiplier) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
TownNPCAttackProj(NPC npc, ref int projType, ref int attackDelay) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
TownNPCAttackProjSpeed(NPC npc, ref float multiplier, ref float gravityCorrection, ref float randomOffset) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
TownNPCAttackShoot(NPC npc, ref bool inBetweenShots) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
TownNPCAttackStrength(NPC npc, ref int damage, ref float knockback) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
TownNPCAttackSwing(NPC npc, ref int itemWidth, ref int itemHeight) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
UpdateLifeRegen(NPC npc, ref int damage) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
UsesPartyHat(NPC npc) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic
WriteExtraAI(NPC npc) (defined in Terraria.ModLoader.NPCLoader)Terraria.ModLoader.NPCLoaderstatic