Minecraft wiki entry for Command_blocks_and_functions, associated text: To create a working minecart with dispenser, run this command: /summon minecraft:command_block_minecart ~ ~ ~ {CustomDisplayTile:1,DisplayTile:dispenser,DisplayOffset:10}