tModLoader v2024.10
A mod to make and play Terraria mods
NPCLoader Member List

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

AddModHook< T >(T hook) (defined in NPCLoader)NPCLoaderstatic
AddShops(int type) (defined in NPCLoader)NPCLoaderstatic
AI(NPC npc) (defined in NPCLoader)NPCLoaderstatic
ApplyDifficultyAndPlayerScaling(NPC npc, int numPlayers, float balance, float bossAdjustment) (defined in NPCLoader)NPCLoaderstatic
blockLootNPCLoaderstatic
BossHeadRotation(NPC npc, ref float rotation) (defined in NPCLoader)NPCLoaderstatic
BossHeadSlot(NPC npc, ref int index) (defined in NPCLoader)NPCLoaderstatic
BossHeadSpriteEffects(NPC npc, ref SpriteEffects spriteEffects) (defined in NPCLoader)NPCLoaderstatic
BossLoot(NPC npc, ref string name, ref int potionType) (defined in NPCLoader)NPCLoaderstatic
BuffTownNPC(ref float damageMult, ref int defense) (defined in NPCLoader)NPCLoaderstatic
CanBeCaughtBy(NPC npc, Item item, Player player) (defined in NPCLoader)NPCLoaderstatic
CanBeHitByItem(NPC npc, Player player, Item item) (defined in NPCLoader)NPCLoaderstatic
CanBeHitByProjectile(NPC npc, Projectile projectile) (defined in NPCLoader)NPCLoaderstatic
CanChat(NPC npc) (defined in NPCLoader)NPCLoaderstatic
CanCollideWithPlayerMeleeAttack(NPC npc, Player player, Item item, Rectangle meleeAttackHitbox) (defined in NPCLoader)NPCLoaderstatic
CanFallThroughPlatforms(NPC npc) (defined in NPCLoader)NPCLoaderstatic
CanGoToStatue(NPC npc, bool toKingStatue) (defined in NPCLoader)NPCLoaderstatic
CanHitNPC(NPC npc, NPC target) (defined in NPCLoader)NPCLoaderstatic
CanHitPlayer(NPC npc, Player target, ref int cooldownSlot) (defined in NPCLoader)NPCLoaderstatic
CanTownNPCSpawn(int numTownNPCs) (defined in NPCLoader)NPCLoaderstatic
ChatBubblePosition(NPC npc, ref Vector2 position, ref SpriteEffects spriteEffects) (defined in NPCLoader)NPCLoaderstatic
CheckActive(NPC npc) (defined in NPCLoader)NPCLoaderstatic
CheckConditions(int type) (defined in NPCLoader)NPCLoaderstatic
CheckDead(NPC npc) (defined in NPCLoader)NPCLoaderstatic
ChooseSpawn(NPCSpawnInfo spawnInfo) (defined in NPCLoader)NPCLoaderstatic
DrawEffects(NPC npc, ref Color drawColor) (defined in NPCLoader)NPCLoaderstatic
DrawHealthBar(NPC npc, ref float scale) (defined in NPCLoader)NPCLoaderstatic
DrawTownAttackGun(NPC npc, ref Texture2D item, ref Rectangle itemFrame, ref float scale, ref int horizontalHoldoutOffset) (defined in NPCLoader)NPCLoaderstatic
DrawTownAttackSwing(NPC npc, ref Texture2D item, ref Rectangle itemFrame, ref int itemSize, ref float scale, ref Vector2 offset) (defined in NPCLoader)NPCLoaderstatic
EditSpawnRange(Player player, ref int spawnRangeX, ref int spawnRangeY, ref int safeRangeX, ref int safeRangeY) (defined in NPCLoader)NPCLoaderstatic
EditSpawnRate(Player player, ref int spawnRate, ref int maxSpawns) (defined in NPCLoader)NPCLoaderstatic
EmoteBubblePosition(NPC npc, ref Vector2 position, ref SpriteEffects spriteEffects) (defined in NPCLoader)NPCLoaderstatic
FindFrame(NPC npc, int frameHeight) (defined in NPCLoader)NPCLoaderstatic
GetAlpha(NPC npc, Color lightColor) (defined in NPCLoader)NPCLoaderstatic
GetChat(NPC npc, ref string chat) (defined in NPCLoader)NPCLoaderstatic
GetNPC(int type)NPCLoaderstatic
HitEffect(NPC npc, in NPC.HitInfo hit) (defined in NPCLoader)NPCLoaderstatic
ModifyActiveShop(NPC npc, string shopName, Item[] shopContents) (defined in NPCLoader)NPCLoaderstatic
ModifyCollisionData(NPC npc, Rectangle victimHitbox, ref int immunityCooldownSlot, ref float damageMultiplier, ref Rectangle npcHitbox) (defined in NPCLoader)NPCLoaderstatic
ModifyGlobalLoot(GlobalLoot globalLoot) (defined in NPCLoader)NPCLoaderstatic
ModifyHitByItem(NPC npc, Player player, Item item, ref NPC.HitModifiers modifiers) (defined in NPCLoader)NPCLoaderstatic
ModifyHitByProjectile(NPC npc, Projectile projectile, ref NPC.HitModifiers modifiers) (defined in NPCLoader)NPCLoaderstatic
ModifyHitNPC(NPC npc, NPC target, ref NPC.HitModifiers modifiers) (defined in NPCLoader)NPCLoaderstatic
ModifyHitPlayer(NPC npc, Player target, ref Player.HurtModifiers modifiers) (defined in NPCLoader)NPCLoaderstatic
ModifyHoverBoundingBox(NPC npc, ref Rectangle boundingBox) (defined in NPCLoader)NPCLoaderstatic
ModifyIncomingHit(NPC npc, ref NPC.HitModifiers modifiers) (defined in NPCLoader)NPCLoaderstatic
ModifyNPCLoot(NPC npc, NPCLoot npcLoot) (defined in NPCLoader)NPCLoaderstatic
ModifyNPCNameList(NPC npc, List< string > nameList) (defined in NPCLoader)NPCLoaderstatic
ModifyShop(NPCShop shop) (defined in NPCLoader)NPCLoaderstatic
ModifyTownNPCProfile(NPC npc, ref ITownNPCProfile profile) (defined in NPCLoader)NPCLoaderstatic
ModifyTypeName(NPC npc, string typeName) (defined in NPCLoader)NPCLoaderstatic
NPCAI(NPC npc) (defined in NPCLoader)NPCLoaderstatic
NPCCount (defined in NPCLoader)NPCLoaderstatic
OnCaughtBy(NPC npc, Player player, Item item, bool failed) (defined in NPCLoader)NPCLoaderstatic
OnChatButtonClicked(bool firstButton) (defined in NPCLoader)NPCLoaderstatic
OnGoToStatue(NPC npc, bool toKingStatue) (defined in NPCLoader)NPCLoaderstatic
OnHitByItem(NPC npc, Player player, Item item, in NPC.HitInfo hit, int damageDone) (defined in NPCLoader)NPCLoaderstatic
OnHitByProjectile(NPC npc, Projectile projectile, in NPC.HitInfo hit, int damageDone) (defined in NPCLoader)NPCLoaderstatic
OnHitNPC(NPC npc, NPC target, in NPC.HitInfo hit) (defined in NPCLoader)NPCLoaderstatic
OnHitPlayer(NPC npc, Player target, Player.HurtInfo hurtInfo) (defined in NPCLoader)NPCLoaderstatic
OnKill(NPC npc) (defined in NPCLoader)NPCLoaderstatic
PartyHatPosition(NPC npc, ref Vector2 position, ref SpriteEffects spriteEffects) (defined in NPCLoader)NPCLoaderstatic
PickEmote(NPC npc, Player closestPlayer, List< int > emoteList, WorldUIAnchor anchor) (defined in NPCLoader)NPCLoaderstatic
PostAI(NPC npc) (defined in NPCLoader)NPCLoaderstatic
PostDraw(NPC npc, SpriteBatch spriteBatch, Vector2 screenPos, Color drawColor) (defined in NPCLoader)NPCLoaderstatic
PreAI(NPC npc) (defined in NPCLoader)NPCLoaderstatic
PreChatButtonClicked(bool firstButton) (defined in NPCLoader)NPCLoaderstatic
PreDraw(NPC npc, SpriteBatch spriteBatch, Vector2 screenPos, Color drawColor) (defined in NPCLoader)NPCLoaderstatic
PreKill(NPC npc) (defined in NPCLoader)NPCLoaderstatic
ReadExtraAI(BinaryReader reader) (defined in NPCLoader)NPCLoaderstatic
ReceiveExtraAI(NPC npc, byte[] extraAI) (defined in NPCLoader)NPCLoaderstatic
ResetEffects(NPC npc) (defined in NPCLoader)NPCLoaderstatic
SavesAndLoads(NPC npc) (defined in NPCLoader)NPCLoaderstatic
SendExtraAI(BinaryWriter writer, byte[] extraAI) (defined in NPCLoader)NPCLoaderstatic
SetBestiary(NPC npc, BestiaryDatabase database, BestiaryEntry bestiaryEntry) (defined in NPCLoader)NPCLoaderstatic
SetChatButtons(ref string button, ref string button2) (defined in NPCLoader)NPCLoaderstatic
SetupTravelShop(int[] shop, ref int nextSlot) (defined in NPCLoader)NPCLoaderstatic
SpawnNPC(int type, int tileX, int tileY) (defined in NPCLoader)NPCLoaderstatic
SpecialOnKill(NPC npc) (defined in NPCLoader)NPCLoaderstatic
TownNPCAttackCooldown(NPC npc, ref int cooldown, ref int randExtraCooldown) (defined in NPCLoader)NPCLoaderstatic
TownNPCAttackMagic(NPC npc, ref float auraLightMultiplier) (defined in NPCLoader)NPCLoaderstatic
TownNPCAttackProj(NPC npc, ref int projType, ref int attackDelay) (defined in NPCLoader)NPCLoaderstatic
TownNPCAttackProjSpeed(NPC npc, ref float multiplier, ref float gravityCorrection, ref float randomOffset) (defined in NPCLoader)NPCLoaderstatic
TownNPCAttackShoot(NPC npc, ref bool inBetweenShots) (defined in NPCLoader)NPCLoaderstatic
TownNPCAttackStrength(NPC npc, ref int damage, ref float knockback) (defined in NPCLoader)NPCLoaderstatic
TownNPCAttackSwing(NPC npc, ref int itemWidth, ref int itemHeight) (defined in NPCLoader)NPCLoaderstatic
UpdateLifeRegen(NPC npc, ref int damage) (defined in NPCLoader)NPCLoaderstatic
UsesPartyHat(NPC npc) (defined in NPCLoader)NPCLoaderstatic
WriteExtraAI(NPC npc) (defined in NPCLoader)NPCLoaderstatic