First, give yourself a valid spawn egg for summoning a sand entity. I used this one so it looked nice and also functioned as a sand entity spawn egg:
/give @p minecraft:cod_spawn_egg{EntityTag:{id:"minecraft:falling_block",BlockState:{Name:"minecraft:sand"},Time:1b,CustomName:""},display:{Name:"{\"text\":\"Falling Sand Spawn Egg\",\"italic\":false}"}}
Use it in creative mode to verify it works. you should spawn a block of sand.
Put the same egg into a dispenser and power it with redstone.
The dispenser strips the entity of all the rest of the data other than the fact its a falling_block
entity. This can be further tested by changing the block id to spawn to a block other than sand; and seeing that the dispenser changes it to a falling sand instead of what you defined.
Note: this has nothing to do with spawners or the spawn eggs themselves, as the eggs work perfectly fine, and all entities excpet falling_block seem to work just fine when being dispensed by a dispenser.
Attachments
Comments 8
This ticket is actually a duplicate of MC-206796, which was later resolved as "Won't Fix".
I disagree that this is the same issue. that issue has to do with spawners not dispensers
the issue you mentioned also has nothing to do with what this is. all other entities I have tested work, even tridents with motion data. the only entities that have any issue with dispensers are falling_block, and makes me think it has something to do with the falling_block and the way that is summoned by dispensers rather than anything else.