block_entity_data not used in Survival
When summoning a custom mob spawner and giving it to a player in Creative who then places it, the spawner acts as expected but if a survival player places it it will turn into a standard pig spawner and lose all its custom NBT.
Summon Command (forgot the give command)
/summon Item ~ ~ ~ {Item:{id:"minecraft:mob_spawner",Count:1b,tag:{BlockEntityTag:{RequiredPlayerRange:1,MaxNearbyEntities:0,SpawnCount:0,SpawnData:{id:"Enderman"},SpawnRange:0,Delay:0,SpawnPotentials:{Entity:{id:"Enderman"}},MinSpawnDelay:0},display:{Name:"Enderman Spawner"}}}}
2016-07-10, 05:35 PM
2024-05-10, 03:20 PM
2016-07-10, 05:50 PM
0
6
-