When giving a spawner via a function, the placed block does not work vs when given via in game command.
To replicate - In a function, triggered by /trigger SpawnerPack set 1, execute as @a[scores={SpawnerPack=1}] run give @s spawner[block_entity_data={id:"mob_spawner",SpawnData:{entity:{id:"minecraft:cow"}}}] 1
gives a spawner that SAYS it’s cow, but when placed does not have the mob. when
/give @s spawner[block_entity_data={id:"mob_spawner",SpawnData:{entity:{id:"minecraft:cow"}}}] 1
is ran in game, the spawner when placed DOES have a cow, and works.
EDIT : Solved
Comments 0
No comments.