spawn-conditions
option in the entities section of the config.yml. You can find a list of entities that correspond to the version of your server by clicking here.ANIMAL_LIGHT
ANIMAL_LIGHT_AND_COLD
BELOW_SEA_LEVEL
DARK_BLOCK_LIGHT
IN_LAVA_AND_AIR_ABOVE
IN_SEA_SURFACE
IN_SLIME_CHUNK_OR_SWAMP
IN_WATER_DEEP
MONSTER_LIGHT
DARK_BLOCK_LIGHT
NOT_IN_OCEAN
NOT_IN_OCEAN_DEEP
NOT_ON_NETHER_WART_BLOCK
NOT_PEACEFUL
ON_GRASS
ON_GRASS_OR_SAND_OR_SNOW
ON_MYCELIUM
ON_NETHER_WART_BLOCK
ON_SAND
ON_TREE_OR_AIR