| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
name |
static java.lang.String |
TYPE_ID_NPC |
anticondition, chance, compositeCondition, condition, groupSpawnSettings, GSON, locationTypes, percentage, rarity, rarityMultipliers, requiredSpace, set, spawnInfoTypes, stringLocationTypes, tags, typeID| Constructor and Description |
|---|
SpawnInfoNPC() |
| Modifier and Type | Method and Description |
|---|---|
SpawnAction<NPCEntity> |
construct(AbstractSpawner spawner,
SpawnLocation spawnLocation)
Constructs a
SpawnAction based on the information in this SpawnInfo, the AbstractSpawner, and the SpawnLocation. |
java.lang.String |
toString()
Gets the display String for use in /checkspawns.
|
calculateNominalRarity, fits, getAdjustedRarity, onExport, onImportpublic static final java.lang.String TYPE_ID_NPC
public java.lang.String name
public SpawnAction<NPCEntity> construct(AbstractSpawner spawner, SpawnLocation spawnLocation)
SpawnInfoSpawnAction based on the information in this SpawnInfo, the AbstractSpawner, and the SpawnLocation.