tModLoader v2024.11
A mod to make and play Terraria mods
ModNPC Member List

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

AddShops()ModNPCvirtual
AI()ModNPCvirtual
AITypeModNPC
AnimationTypeModNPC
ApplyDifficultyAndPlayerScaling(int numPlayers, float balance, float bossAdjustment)ModNPCvirtual
AutoStaticDefaults()ModNPCvirtual
BannerModNPC
BannerItemModNPC
BossHeadRotation(ref float rotation)ModNPCvirtual
BossHeadSlot(ref int index)ModNPCvirtual
BossHeadSpriteEffects(ref SpriteEffects spriteEffects)ModNPCvirtual
BossHeadTextureModNPC
BossLoot(ref string name, ref int potionType)ModNPCvirtual
CanBeCaughtBy(Item item, Player player)ModNPCvirtual
CanBeHitByItem(Player player, Item item)ModNPCvirtual
CanBeHitByNPC(NPC attacker)ModNPCvirtual
CanBeHitByProjectile(Projectile projectile)ModNPCvirtual
CanChat()ModNPCvirtual
CanCollideWithPlayerMeleeAttack(Player player, Item item, Rectangle meleeAttackHitbox)ModNPCvirtual
CanFallThroughPlatforms()ModNPCvirtual
CanGoToStatue(bool toKingStatue)ModNPCvirtual
CanHitNPC(NPC target)ModNPCvirtual
CanHitPlayer(Player target, ref int cooldownSlot)ModNPCvirtual
CanTownNPCSpawn(int numTownNPCs)ModNPCvirtual
ChatBubblePosition(ref Vector2 position, ref SpriteEffects spriteEffects)ModNPCvirtual
CheckActive()ModNPCvirtual
CheckConditions(int left, int right, int top, int bottom)ModNPCvirtual
CheckDead()ModNPCvirtual
Clone(TEntity newEntity)ModType< NPC, ModNPC >virtual
CloneNewInstancesModType< NPC, ModNPC >protected
CreateTemplateEntity() (defined in ModNPC)ModNPCprotectedvirtual
DisplayNameModNPC
DrawBehind(int index)ModNPCvirtual
DrawEffects(ref Color drawColor)ModNPCvirtual
DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position)ModNPCvirtual
DrawOffsetYModNPC
DrawTownAttackGun(ref Texture2D item, ref Rectangle itemFrame, ref float scale, ref int horizontalHoldoutOffset)ModNPCvirtual
DrawTownAttackSwing(ref Texture2D item, ref Rectangle itemFrame, ref int itemSize, ref float scale, ref Vector2 offset)ModNPCvirtual
EmoteBubblePosition(ref Vector2 position, ref SpriteEffects spriteEffects)ModNPCvirtual
FindFrame(int frameHeight)ModNPCvirtual
FullNameModType< NPC, ModNPC >
GetAlpha(Color drawColor)ModNPCvirtual
GetChat()ModNPCvirtual
HeadTextureModNPC
HitEffect(NPC.HitInfo hit)ModNPCvirtual
InitTemplateInstance()ModType< NPC, ModNPC >protectedvirtual
InitTemplateInstance()ModType< NPC, ModNPC >protected
IsCloneableModType< NPC, ModNPC >
IsLoadingEnabled(Mod mod)ModType< NPC, ModNPC >virtual
Load()ModType< NPC, ModNPC >virtual
LoadData(TagCompound tag)ModNPCvirtual
LocalizationCategoryModNPC
ModModType< NPC, ModNPC >
ModifyActiveShop(string shopName, Item[] items)ModNPCvirtual
ModifyCollisionData(Rectangle victimHitbox, ref int immunityCooldownSlot, ref MultipliableFloat damageMultiplier, ref Rectangle npcHitbox)ModNPCvirtual
ModifyHitByItem(Player player, Item item, ref NPC.HitModifiers modifiers)ModNPCvirtual
ModifyHitByProjectile(Projectile projectile, ref NPC.HitModifiers modifiers)ModNPCvirtual
ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers)ModNPCvirtual
ModifyHitPlayer(Player target, ref Player.HurtModifiers modifiers)ModNPCvirtual
ModifyHoverBoundingBox(ref Rectangle boundingBox)ModNPCvirtual
ModifyIncomingHit(ref NPC.HitModifiers modifiers)ModNPCvirtual
ModifyNPCLoot(NPCLoot npcLoot)ModNPCvirtual
ModifyTypeName(ref string typeName)ModNPCvirtual
MusicModNPC
NameModType< NPC, ModNPC >
NeedSaving()ModNPCvirtual
NewInstance(TEntity entity)ModType< NPC, ModNPC >virtual
NPCModNPC
OnCaughtBy(Player player, Item item, bool failed)ModNPCvirtual
OnChatButtonClicked(bool firstButton, ref string shopName)ModNPCvirtual
OnGoToStatue(bool toKingStatue)ModNPCvirtual
OnHitByItem(Player player, Item item, NPC.HitInfo hit, int damageDone)ModNPCvirtual
OnHitByProjectile(Projectile projectile, NPC.HitInfo hit, int damageDone)ModNPCvirtual
OnHitNPC(NPC target, NPC.HitInfo hit)ModNPCvirtual
OnHitPlayer(Player target, Player.HurtInfo hurtInfo)ModNPCvirtual
OnKill()ModNPCvirtual
OnSpawn(IEntitySource source)ModNPCvirtual
PartyHatPosition(ref Vector2 position, ref SpriteEffects spriteEffects)ModNPCvirtual
PickEmote(Player closestPlayer, List< int > emoteList, WorldUIAnchor otherAnchor)ModNPCvirtual
PostAI() (defined in ModNPC)ModNPCvirtual
PostDraw(SpriteBatch spriteBatch, Vector2 screenPos, Color drawColor)ModNPCvirtual
PreAI()ModNPCvirtual
PreDraw(SpriteBatch spriteBatch, Vector2 screenPos, Color drawColor)ModNPCvirtual
PreKill()ModNPCvirtual
ReceiveExtraAI(BinaryReader reader)ModNPCvirtual
Register()ModNPCprotectedvirtual
ResetEffects()ModNPCvirtual
SaveData(TagCompound tag)ModNPCvirtual
SceneEffectPriorityModNPC
SendExtraAI(BinaryWriter writer)ModNPCvirtual
SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry)ModNPCvirtual
SetChatButtons(ref string button, ref string button2)ModNPCvirtual
SetDefaults()ModNPCvirtual
SetNPCNameList()ModNPCvirtual
SetStaticDefaults()ModType< NPC, ModNPC >virtual
SetupContent()ModNPCvirtual
SpawnChance(NPCSpawnInfo spawnInfo)ModNPCvirtual
SpawnModBiomesModNPC
SpawnNPC(int tileX, int tileY)ModNPCvirtual
SpecialOnKill()ModNPCvirtual
TextureModNPC
TownNPCAttackCooldown(ref int cooldown, ref int randExtraCooldown)ModNPCvirtual
TownNPCAttackMagic(ref float auraLightMultiplier)ModNPCvirtual
TownNPCAttackProj(ref int projType, ref int attackDelay)ModNPCvirtual
TownNPCAttackProjSpeed(ref float multiplier, ref float gravityCorrection, ref float randomOffset)ModNPCvirtual
TownNPCAttackShoot(ref bool inBetweenShots)ModNPCvirtual
TownNPCAttackStrength(ref int damage, ref float knockback)ModNPCvirtual
TownNPCAttackSwing(ref int itemWidth, ref int itemHeight)ModNPCvirtual
TownNPCProfile()ModNPCvirtual
TownNPCStayingHomelessModNPC
TypeModNPC
Unload()ModType< NPC, ModNPC >virtual
UpdateLifeRegen(ref int damage)ModNPCvirtual
UsesPartyHat()ModNPCvirtual
ValidateType()ModType< NPC, ModNPC >protectedvirtual