tModLoader v2024.11
A mod to make and play Terraria mods
SpawnCondition Class Reference

This serves as a central class to help modders spawn their NPCs. It's basically the vanilla spawn code if-else chains condensed into objects. See ExampleMod for usages. More...

Static Public Attributes

static readonly SpawnCondition AngryNimbus
 
static readonly SpawnCondition Bartender
 
static readonly SpawnCondition BeachAngler
 
static readonly SpawnCondition BoundCaveNPC
 
static readonly SpawnCondition CaveJellyfish
 
static readonly SpawnCondition CavePiranha
 
static readonly SpawnCondition Cavern
 
static readonly SpawnCondition Corruption
 
static readonly SpawnCondition CorruptWaterCritter
 
static readonly SpawnCondition CorruptWorm
 
static readonly SpawnCondition Crimson
 
static readonly SpawnCondition DarkMummy
 
static readonly SpawnCondition DefaultWaterCritter
 
static readonly SpawnCondition DesertCave
 
static readonly SpawnCondition DoctorBones
 
static readonly SpawnCondition Dungeon
 
static readonly SpawnCondition DungeonGuardian
 
static readonly SpawnCondition DungeonNormal
 
static readonly SpawnCondition EnchantedSword
 
static readonly SpawnCondition FrogCritter
 
static readonly SpawnCondition FrostLegion
 
static readonly SpawnCondition FrostMoon
 
static readonly SpawnCondition GoblinArmy
 
static readonly SpawnCondition GoblinScout
 
static readonly SpawnCondition HardmodeCrimsonWater
 
static readonly SpawnCondition HardmodeJungle
 
static readonly SpawnCondition HardmodeJungleWater
 
static readonly SpawnCondition HardmodeMushroomWater
 
static readonly SpawnCondition HoppinJack
 
static readonly SpawnCondition IceGolem
 
static readonly SpawnCondition Invasion
 
static readonly SpawnCondition JungleTemple
 
static readonly SpawnCondition JungleWater
 
static readonly SpawnCondition KingSlime
 
static readonly SpawnCondition LacBeetle
 
static readonly SpawnCondition LightMummy
 
static readonly SpawnCondition MartianMadness
 
static readonly SpawnCondition MartianProbe
 
static readonly SpawnCondition Meteor
 
static readonly SpawnCondition MouseCritter
 
static readonly SpawnCondition Mummy
 
static readonly SpawnCondition NebulaTower
 
static readonly SpawnCondition Ocean
 
static readonly SpawnCondition OceanAngler
 
static readonly SpawnCondition OceanMonster
 
static readonly SpawnCondition OldOnesArmy
 
static readonly SpawnCondition Overworld
 
static readonly SpawnCondition OverworldDay
 
static readonly SpawnCondition OverworldDayBirdCritter
 
static readonly SpawnCondition OverworldDayDesert
 
static readonly SpawnCondition OverworldDayGrassCritter
 
static readonly SpawnCondition OverworldDayRain
 
static readonly SpawnCondition OverworldDaySandCritter
 
static readonly SpawnCondition OverworldDaySlime
 
static readonly SpawnCondition OverworldDaySnowCritter
 
static readonly SpawnCondition OverworldFirefly
 
static readonly SpawnCondition OverworldHallow
 
static readonly SpawnCondition OverworldMimic
 
static readonly SpawnCondition OverworldMorningBirdCritter
 
static readonly SpawnCondition OverworldMushroom
 
static readonly SpawnCondition OverworldNight
 
static readonly SpawnCondition OverworldNightMonster
 
static readonly SpawnCondition OverworldUnderwaterCritter
 
static readonly SpawnCondition OverworldWaterCritter
 
static readonly SpawnCondition OverworldWaterSurfaceCritter
 
static readonly SpawnCondition Pirates
 
static readonly SpawnCondition PumpkinMoon
 
static readonly SpawnCondition RainbowSlime
 
static readonly SpawnCondition SandstormEvent
 
static readonly SpawnCondition Sky
 
static readonly SpawnCondition SnailCritter
 
static readonly SpawnCondition SolarEclipse
 
static readonly SpawnCondition SolarTower
 
static readonly SpawnCondition SpiderCave
 
static readonly SpawnCondition StardustTower
 
static readonly SpawnCondition SurfaceJungle
 
static readonly SpawnCondition TownCritter
 
static readonly SpawnCondition TownDefaultWaterCritter
 
static readonly SpawnCondition TownGeneralCritter
 
static readonly SpawnCondition TownJungleCritter
 
static readonly SpawnCondition TownOverworldUnderwaterCritter
 
static readonly SpawnCondition TownOverworldWaterCritter
 
static readonly SpawnCondition TownOverworldWaterSurfaceCritter
 
static readonly SpawnCondition TownSnowCritter
 
static readonly SpawnCondition TownWaterCritter
 
static readonly SpawnCondition Underground
 
static readonly SpawnCondition UndergroundJungle
 
static readonly SpawnCondition UndergroundMimic
 
static readonly SpawnCondition UndergroundMushroom
 
static readonly SpawnCondition Underworld
 
static readonly SpawnCondition VortexTower
 
static readonly SpawnCondition WaterCritter
 
static readonly SpawnCondition WormCritter
 
static readonly SpawnCondition Wraith
 

Properties

bool Active [get]
 
float Chance [get]
 

Detailed Description

This serves as a central class to help modders spawn their NPCs. It's basically the vanilla spawn code if-else chains condensed into objects. See ExampleMod for usages.