Use `const cItem & a_Content`. And you don't need the a_MinecartType - use a_Content to decide which minecart to create.