|
tModLoader v2025.09
A mod to make and play Terraria mods
|
This is the complete list of members for ModNPC, including all inherited members.
| AddShops() | ModNPC | virtual |
| AI() | ModNPC | virtual |
| AIType | ModNPC | |
| AnimationType | ModNPC | |
| ApplyDifficultyAndPlayerScaling(int numPlayers, float balance, float bossAdjustment) | ModNPC | virtual |
| AutoStaticDefaults() | ModNPC | virtual |
| Banner | ModNPC | |
| BannerItem | ModNPC | |
| BossHeadRotation(ref float rotation) | ModNPC | virtual |
| BossHeadSlot(ref int index) | ModNPC | virtual |
| BossHeadSpriteEffects(ref SpriteEffects spriteEffects) | ModNPC | virtual |
| BossHeadTexture | ModNPC | |
| BossLoot(ref string name, ref int potionType) (defined in ModNPC) | ModNPC | virtual |
| BossLoot(ref int potionType) | ModNPC | virtual |
| CanBeCaughtBy(Item item, Player player) | ModNPC | virtual |
| CanBeHitByItem(Player player, Item item) | ModNPC | virtual |
| CanBeHitByNPC(NPC attacker) | ModNPC | virtual |
| CanBeHitByProjectile(Projectile projectile) | ModNPC | virtual |
| CanChat() | ModNPC | virtual |
| CanCollideWithPlayerMeleeAttack(Player player, Item item, Rectangle meleeAttackHitbox) | ModNPC | virtual |
| CanFallThroughPlatforms() | ModNPC | virtual |
| CanGoToStatue(bool toKingStatue) | ModNPC | virtual |
| CanHitNPC(NPC target) | ModNPC | virtual |
| CanHitPlayer(Player target, ref int cooldownSlot) | ModNPC | virtual |
| CanTownNPCSpawn(int numTownNPCs) | ModNPC | virtual |
| ChatBubblePosition(ref Vector2 position, ref SpriteEffects spriteEffects) | ModNPC | virtual |
| CheckActive() | ModNPC | virtual |
| CheckConditions(int left, int right, int top, int bottom) | ModNPC | virtual |
| CheckDead() | ModNPC | virtual |
| Clone(TEntity newEntity) | ModType< NPC, ModNPC > | virtual |
| CloneNewInstances | ModType< NPC, ModNPC > | protected |
| CreateTemplateEntity() (defined in ModNPC) | ModNPC | protectedvirtual |
| DeathMessage | ModNPC | |
| DisplayName | ModNPC | |
| DrawBehind(int index) | ModNPC | virtual |
| DrawEffects(ref Color drawColor) | ModNPC | virtual |
| DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) | ModNPC | virtual |
| DrawOffsetY | ModNPC | |
| DrawTownAttackGun(ref Texture2D item, ref Rectangle itemFrame, ref float scale, ref int horizontalHoldoutOffset) | ModNPC | virtual |
| DrawTownAttackSwing(ref Texture2D item, ref Rectangle itemFrame, ref int itemSize, ref float scale, ref Vector2 offset) | ModNPC | virtual |
| EmoteBubblePosition(ref Vector2 position, ref SpriteEffects spriteEffects) | ModNPC | virtual |
| FindFrame(int frameHeight) | ModNPC | virtual |
| FullName | ModType< NPC, ModNPC > | |
| GetAlpha(Color drawColor) | ModNPC | virtual |
| GetChat() | ModNPC | virtual |
| HeadTexture | ModNPC | |
| HitEffect(NPC.HitInfo hit) | ModNPC | virtual |
| InitTemplateInstance() | ModType< NPC, ModNPC > | protectedvirtual |
| InitTemplateInstance() | ModType< NPC, ModNPC > | protected |
| IsCloneable | ModType< NPC, ModNPC > | |
| IsLoadingEnabled(Mod mod) | ModType< NPC, ModNPC > | virtual |
| Load() | ModType< NPC, ModNPC > | virtual |
| LoadData(TagCompound tag) | ModNPC | virtual |
| LocalizationCategory | ModNPC | |
| Mod | ModType< NPC, ModNPC > | |
| ModifyActiveShop(string shopName, Item[] items) | ModNPC | virtual |
| ModifyCollisionData(Rectangle victimHitbox, ref int immunityCooldownSlot, ref MultipliableFloat damageMultiplier, ref Rectangle npcHitbox) | ModNPC | virtual |
| ModifyDeathMessage(ref NetworkText customText, ref Color color) | ModNPC | virtual |
| ModifyHitByItem(Player player, Item item, ref NPC.HitModifiers modifiers) | ModNPC | virtual |
| ModifyHitByProjectile(Projectile projectile, ref NPC.HitModifiers modifiers) | ModNPC | virtual |
| ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers) | ModNPC | virtual |
| ModifyHitPlayer(Player target, ref Player.HurtModifiers modifiers) | ModNPC | virtual |
| ModifyHoverBoundingBox(ref Rectangle boundingBox) | ModNPC | virtual |
| ModifyIncomingHit(ref NPC.HitModifiers modifiers) | ModNPC | virtual |
| ModifyNPCLoot(NPCLoot npcLoot) | ModNPC | virtual |
| ModifyTypeName(ref string typeName) | ModNPC | virtual |
| Music | ModNPC | |
| Name | ModType< NPC, ModNPC > | |
| NeedSaving() | ModNPC | virtual |
| NewInstance(TEntity entity) | ModType< NPC, ModNPC > | virtual |
| NPC | ModNPC | |
| OnCaughtBy(Player player, Item item, bool failed) | ModNPC | virtual |
| OnChatButtonClicked(bool firstButton, ref string shopName) | ModNPC | virtual |
| OnGoToStatue(bool toKingStatue) | ModNPC | virtual |
| OnHitByItem(Player player, Item item, NPC.HitInfo hit, int damageDone) | ModNPC | virtual |
| OnHitByProjectile(Projectile projectile, NPC.HitInfo hit, int damageDone) | ModNPC | virtual |
| OnHitNPC(NPC target, NPC.HitInfo hit) | ModNPC | virtual |
| OnHitPlayer(Player target, Player.HurtInfo hurtInfo) | ModNPC | virtual |
| OnKill() | ModNPC | virtual |
| OnSpawn(IEntitySource source) | ModNPC | virtual |
| PartyHatPosition(ref Vector2 position, ref SpriteEffects spriteEffects) | ModNPC | virtual |
| PickEmote(Player closestPlayer, List< int > emoteList, WorldUIAnchor otherAnchor) | ModNPC | virtual |
| PostAI() | ModNPC | virtual |
| PostDraw(SpriteBatch spriteBatch, Vector2 screenPos, Color drawColor) | ModNPC | virtual |
| PreAI() | ModNPC | virtual |
| PreDraw(SpriteBatch spriteBatch, Vector2 screenPos, Color drawColor) | ModNPC | virtual |
| PreHoverInteract(bool mouseIntersects) | ModNPC | virtual |
| PreKill() | ModNPC | virtual |
| ReceiveExtraAI(BinaryReader reader) | ModNPC | virtual |
| Register() | ModNPC | protectedvirtual |
| ResetEffects() | ModNPC | virtual |
| SaveData(TagCompound tag) | ModNPC | virtual |
| SceneEffectPriority | ModNPC | |
| SendExtraAI(BinaryWriter writer) | ModNPC | virtual |
| SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) | ModNPC | virtual |
| SetChatButtons(ref string button, ref string button2) | ModNPC | virtual |
| SetDefaults() | ModNPC | virtual |
| SetNPCNameList() | ModNPC | virtual |
| SetStaticDefaults() | ModType< NPC, ModNPC > | virtual |
| SetupContent() | ModNPC | virtual |
| SpawnChance(NPCSpawnInfo spawnInfo) | ModNPC | virtual |
| SpawnModBiomes | ModNPC | |
| SpawnNPC(int tileX, int tileY) | ModNPC | virtual |
| SpecialOnKill() | ModNPC | virtual |
| Texture | ModNPC | |
| TownNPCAttackCooldown(ref int cooldown, ref int randExtraCooldown) | ModNPC | virtual |
| TownNPCAttackMagic(ref float auraLightMultiplier) | ModNPC | virtual |
| TownNPCAttackProj(ref int projType, ref int attackDelay) | ModNPC | virtual |
| TownNPCAttackProjSpeed(ref float multiplier, ref float gravityCorrection, ref float randomOffset) | ModNPC | virtual |
| TownNPCAttackShoot(ref bool inBetweenShots) | ModNPC | virtual |
| TownNPCAttackStrength(ref int damage, ref float knockback) | ModNPC | virtual |
| TownNPCAttackSwing(ref int itemWidth, ref int itemHeight) | ModNPC | virtual |
| TownNPCProfile() | ModNPC | virtual |
| TownNPCStayingHomeless | ModNPC | |
| Type | ModNPC | |
| Unload() | ModType< NPC, ModNPC > | virtual |
| UpdateLifeRegen(ref int damage) | ModNPC | virtual |
| UsesPartyHat() | ModNPC | virtual |
| ValidateType() | ModType< NPC, ModNPC > | protectedvirtual |