tModLoader v0.11.8.9
A mod to make and play Terraria mods
|
Properties | |
bool | Active [get] |
float | Chance [get] |
Static Private Member Functions | |
static | SpawnCondition () |
static Tile | GetTile (NPCSpawnInfo info) |
static bool | InnerThird (NPCSpawnInfo info) |
static bool | MartianProbeHelper (NPCSpawnInfo info) |
static bool | OuterThird (NPCSpawnInfo info) |
static bool | WaterSurface (NPCSpawnInfo info) |
Private Attributes | |
bool | active |
float | blockWeight |
float | chance |
List< SpawnCondition > | children |
Func< NPCSpawnInfo, bool > | condition |
Definition at line 34 of file NPCSpawnHelper.cs.
|
staticprivate |
Definition at line 185 of file NPCSpawnHelper.cs.
References Terraria.ModLoader.SpawnCondition.SpawnCondition(), Terraria.ModLoader.SpawnCondition.AngryNimbus, Terraria.ModLoader.SpawnCondition.Bartender, Terraria.ModLoader.SpawnCondition.BeachAngler, Terraria.ModLoader.SpawnCondition.BoundCaveNPC, Terraria.ModLoader.SpawnCondition.CaveJellyfish, Terraria.ModLoader.SpawnCondition.CavePiranha, Terraria.ModLoader.SpawnCondition.Cavern, Terraria.ModLoader.SpawnCondition.Corruption, Terraria.ModLoader.SpawnCondition.CorruptWaterCritter, Terraria.ModLoader.SpawnCondition.CorruptWorm, Terraria.ModLoader.SpawnCondition.Crimson, Terraria.ModLoader.SpawnCondition.DarkMummy, Terraria.ModLoader.SpawnCondition.DefaultWaterCritter, Terraria.ModLoader.SpawnCondition.DesertCave, Terraria.ModLoader.SpawnCondition.DoctorBones, Terraria.ModLoader.SpawnCondition.Dungeon, Terraria.ModLoader.SpawnCondition.DungeonGuardian, Terraria.ModLoader.SpawnCondition.DungeonNormal, Terraria.ModLoader.SpawnCondition.EnchantedSword, Terraria.ModLoader.SpawnCondition.FrogCritter, Terraria.ModLoader.SpawnCondition.FrostLegion, Terraria.ModLoader.SpawnCondition.FrostMoon, Terraria.ModLoader.SpawnCondition.GetTile(), Terraria.ModLoader.SpawnCondition.GoblinArmy, Terraria.ModLoader.SpawnCondition.GoblinScout, Terraria.ModLoader.SpawnCondition.HardmodeCrimsonWater, Terraria.ModLoader.SpawnCondition.HardmodeJungle, Terraria.ModLoader.SpawnCondition.HardmodeJungleWater, Terraria.ModLoader.SpawnCondition.HardmodeMushroomWater, Terraria.ModLoader.SpawnCondition.HoppinJack, Terraria.ModLoader.SpawnCondition.IceGolem, Terraria.ModLoader.SpawnCondition.InnerThird(), Terraria.ModLoader.SpawnCondition.Invasion, Terraria.ModLoader.SpawnCondition.JungleTemple, Terraria.ModLoader.SpawnCondition.JungleWater, Terraria.ModLoader.SpawnCondition.KingSlime, Terraria.ModLoader.SpawnCondition.LacBeetle, Terraria.ModLoader.SpawnCondition.LightMummy, Terraria.ModLoader.SpawnCondition.MartianMadness, Terraria.ModLoader.SpawnCondition.MartianProbe, Terraria.ModLoader.SpawnCondition.MartianProbeHelper(), Terraria.ModLoader.SpawnCondition.Meteor, Terraria.ModLoader.SpawnCondition.MouseCritter, Terraria.ModLoader.SpawnCondition.Mummy, Terraria.ModLoader.SpawnCondition.NebulaTower, Terraria.ModLoader.SpawnCondition.Ocean, Terraria.ModLoader.SpawnCondition.OceanAngler, Terraria.ModLoader.SpawnCondition.OceanMonster, Terraria.ModLoader.SpawnCondition.OldOnesArmy, Terraria.ModLoader.SpawnCondition.OuterThird(), Terraria.ModLoader.SpawnCondition.Overworld, Terraria.ModLoader.SpawnCondition.OverworldDay, Terraria.ModLoader.SpawnCondition.OverworldDayBirdCritter, Terraria.ModLoader.SpawnCondition.OverworldDayDesert, Terraria.ModLoader.SpawnCondition.OverworldDayGrassCritter, Terraria.ModLoader.SpawnCondition.OverworldDayRain, Terraria.ModLoader.SpawnCondition.OverworldDaySandCritter, Terraria.ModLoader.SpawnCondition.OverworldDaySlime, Terraria.ModLoader.SpawnCondition.OverworldDaySnowCritter, Terraria.ModLoader.SpawnCondition.OverworldFirefly, Terraria.ModLoader.SpawnCondition.OverworldHallow, Terraria.ModLoader.SpawnCondition.OverworldMimic, Terraria.ModLoader.SpawnCondition.OverworldMorningBirdCritter, Terraria.ModLoader.SpawnCondition.OverworldMushroom, Terraria.ModLoader.SpawnCondition.OverworldNight, Terraria.ModLoader.SpawnCondition.OverworldNightMonster, Terraria.ModLoader.SpawnCondition.OverworldUnderwaterCritter, Terraria.ModLoader.SpawnCondition.OverworldWaterCritter, Terraria.ModLoader.SpawnCondition.OverworldWaterSurfaceCritter, Terraria.ModLoader.SpawnCondition.Pirates, Terraria.ModLoader.SpawnCondition.PumpkinMoon, Terraria.ModLoader.SpawnCondition.RainbowSlime, Terraria.ModLoader.SpawnCondition.SandstormEvent, Terraria.ModLoader.SpawnCondition.Sky, Terraria.ModLoader.SpawnCondition.SnailCritter, Terraria.ModLoader.SpawnCondition.SolarEclipse, Terraria.ModLoader.SpawnCondition.SolarTower, Terraria.ModLoader.SpawnCondition.SpiderCave, Terraria.ModLoader.SpawnCondition.StardustTower, Terraria.ModLoader.SpawnCondition.SurfaceJungle, Terraria.ModLoader.SpawnCondition.TownCritter, Terraria.ModLoader.SpawnCondition.TownDefaultWaterCritter, Terraria.ModLoader.SpawnCondition.TownGeneralCritter, Terraria.ModLoader.SpawnCondition.TownJungleCritter, Terraria.ModLoader.SpawnCondition.TownOverworldUnderwaterCritter, Terraria.ModLoader.SpawnCondition.TownOverworldWaterCritter, Terraria.ModLoader.SpawnCondition.TownOverworldWaterSurfaceCritter, Terraria.ModLoader.SpawnCondition.TownSnowCritter, Terraria.ModLoader.SpawnCondition.TownWaterCritter, Terraria.ModLoader.SpawnCondition.Underground, Terraria.ModLoader.SpawnCondition.UndergroundJungle, Terraria.ModLoader.SpawnCondition.UndergroundMimic, Terraria.ModLoader.SpawnCondition.UndergroundMushroom, Terraria.ModLoader.SpawnCondition.Underworld, Terraria.ModLoader.SpawnCondition.VortexTower, Terraria.ModLoader.SpawnCondition.WaterCritter, Terraria.ModLoader.SpawnCondition.WaterSurface(), Terraria.ModLoader.SpawnCondition.WormCritter, and Terraria.ModLoader.SpawnCondition.Wraith.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
staticprivate |
Definition at line 355 of file NPCSpawnHelper.cs.
References Terraria.ModLoader.NPCSpawnInfo.spawnTileX, and Terraria.ModLoader.NPCSpawnInfo.spawnTileY.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
staticprivate |
Definition at line 377 of file NPCSpawnHelper.cs.
References Terraria.ModLoader.NPCSpawnInfo.spawnTileX.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
staticprivate |
Definition at line 372 of file NPCSpawnHelper.cs.
References Terraria.ModLoader.NPCSpawnInfo.spawnTileX.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
staticprivate |
Definition at line 381 of file NPCSpawnHelper.cs.
References Terraria.ModLoader.NPCSpawnInfo.spawnTileX.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
staticprivate |
Definition at line 359 of file NPCSpawnHelper.cs.
References Terraria.ModLoader.NPCSpawnInfo.safeRangeX, Terraria.ModLoader.NPCSpawnInfo.spawnTileX, and Terraria.ModLoader.NPCSpawnInfo.spawnTileY.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
private |
Definition at line 42 of file NPCSpawnHelper.cs.
|
static |
Definition at line 165 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 100 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 108 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
private |
Definition at line 38 of file NPCSpawnHelper.cs.
|
static |
Definition at line 118 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 111 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 110 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 183 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
private |
Definition at line 41 of file NPCSpawnHelper.cs.
|
private |
Definition at line 37 of file NPCSpawnHelper.cs.
|
private |
Definition at line 36 of file NPCSpawnHelper.cs.
|
static |
Definition at line 161 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 113 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 139 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 160 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 156 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 117 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 102 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 144 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 128 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 129 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 130 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 159 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 149 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 97 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 133 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 96 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 175 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 104 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 150 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 103 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 136 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 143 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 163 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 95 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 151 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 109 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 173 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 145 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 157 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 99 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 166 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 131 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 147 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 155 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 90 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 105 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 106 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 107 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 132 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 162 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 167 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 172 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 174 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 169 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 176 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 170 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 177 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 168 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 179 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 158 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 141 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 171 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 137 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 178 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 180 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 116 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 114 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 115 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 98 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 134 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 164 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 154 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 94 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 148 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 135 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 93 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 101 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 92 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 153 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 119 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 124 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 127 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 126 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 123 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 121 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 122 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 125 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 120 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 181 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 152 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 140 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 138 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 182 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 91 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 112 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 146 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
static |
Definition at line 142 of file NPCSpawnHelper.cs.
Referenced by Terraria.ModLoader.SpawnCondition.SpawnCondition().
|
get |
Definition at line 48 of file NPCSpawnHelper.cs.
|
get |
Definition at line 47 of file NPCSpawnHelper.cs.