All you have to do is input the right numbers in any field — your name field, or you animal name field. Naming stuff Item IDs caused items to spawn. That's a wild glitch. And unfortunately it's been completely removed from most versions of Stardew Valley.