Minecraft – How to summon an invisible falling block in minecraft 1.16.5

minecraft-commandsminecraft-java-edition

I'm trying to summon an invisible falling block using a repeating command block to get rid of the shadow created by it, I've tried using ActiveEffects NBT but that isn't seeming to work, here's the code:

summon minecraft:falling_block ~ ~1.5 ~ {BlockState:{Name:"barrier"},Time:0,NoGravity:1,ActiveEffects:[{Id:14,Amplifier:0,Duration:1,ShowParticles:0b}]}

Best Answer

Since the block is an entity, can you not just give it the Invisibility effect?