/blockdata -108 63 362 {Items:[{Slot:4b,id:minecraft:mob_spawner {EntityId:Zombie,SpawnCount:3,SpawnRange:3,RequiredPlayerRange:30,Delay:5,MaxSpawnDelay:20,MaxNearbyEntities:5},Count:1b}]} or /blockdata -108 63 362 {Items:[{Slot:4b,id:minecraft:mob_spawner,EntityId:Zombie,SpawnCount:3,SpawnRange:3,RequiredPlayerRange:30,Delay:5,MaxSpawnDelay:20,MaxNearbyEntities:5},Count:1b]} or /blockdata -108 63 362 {Items:[{Slot:4b,id:minecraft:mob_spawner,tag:{EntityId:Zombie,SpawnCount:3,SpawnRange:3,RequiredPlayerRange:30,Delay:5,MaxSpawnDelay:20,MaxNearbyEntities:5},Count:1b}]}
are not populating the inv of the drooper,chest,dispencer i have at that position idk if i have the syntax wrong or if the code for a mobspawner is not allowed to be placed into an ivn or what
You have to use first the "tag"-tag and then the "BlockEntityTag"-tag, like this: