> For the complete documentation index, see [llms.txt](https://gtfo-modding.gitbook.io/wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gtfo-modding.gitbook.io/wiki/reference/datablocks/main/enemypopulation.md). Agents can also search and read this documentation through its [MCP server](https://gtfo-modding.gitbook.io/wiki/~gitbook/mcp).

# EnemyPopulation

GameData\_EnemyPopulationDataBlock\_bin.json (filled)

This datablock is used to select enemies by [EnemyGroupDataBlock](https://gtfo-modding.gitbook.io/wiki/reference/datablocks/main/enemygroup.md) through filters.

While technically you can have several population blocks, usually only the first block is used both in-game and by modders.

{% hint style="info" %}
Spawning enemies is explained in [EnemySpawningData](https://gtfo-modding.gitbook.io/wiki/reference/nested-types/enemyspawningdata.md#how-to-pick-enemy-spawns).
{% endhint %}

## Fields

### RoleDatas - [List EnemyRoleData](https://gtfo-modding.gitbook.io/wiki/reference/nested-types/enemyroledata.md) (nested type)

List of enemy role entries.
