I know how the normal command for a mob spawner go but is no longer. Does anyone know a new command?
/ setblock ~ ~ 1 ~ spawner {SpawnData: {id: zombie}, Delay: 299} replace
Here you can configure a Spawner as you like, and that gives you then the appropriate (1.14) Command: https://www.digminecraft.com/generators/mob_spawner.php