/
This DataPack Library allow you to summon invisible minecarts without affecting normal ones (they will still be visible).
Useful for adding custom UI / Inventories by summoning one of these in front of the player.
/function im_3:summon_invisible/chest_minecart {pos:"~ ~ ~", noGravity:"true", silent:"true", invulnerable:"true", tags:""}
You can change pos, noGravity, silent, invulnerable and add tags to customize your minecarts:
You can also turn a normal minecart into an invisible minecart just by adding the tag "invisible_minecart" and removing, if it has, the "im_set" one.
Rest of minecart types are coming in a future DataPack versión.
Credits to Misode.

This DataPack Library allow you to summon invisible minecarts without affecting normal ones (they will still be visible).