How do i summon a falling command block with two different tile entity data [closed]
Solution 1:
Set the falling block's auto tag to 1
/summon minecraft:falling_block ~ ~ ~ {BlockState:{Name:"command_block"},Time:1,TileEntityData:{Command:"say hi",auto:1}}
the auto tag allows the command block to run the command without receiving a redstone signal. All data values for the command block: https://minecraft.gamepedia.com/Command_Block#Data_values