If you need more help with spawning crab cakes, we have a detailed guide on our blog - click here to visit that page. Whenever you speak to a villager that says your name in dialogue (for example Gus at the Stardrop Saloon) you will be given the crab cakes item. If you do wish to use this method, first set your character's name to when creating your save. You can only set your character's name once, at the start of the game (when you create your world), for this reason we recommend you use the animal name method. You will then receive the crab cakes item. It is prepared using either the kitchen inside an upgraded farmhouse or a Cookout Kit. Categories: Recipes Cooking Pink Cake is a cooked dish. 1.5: Can now be prepared using a Cookout Kit. To spawn this item using an animal's name, visit Marnie's Ranch, speak to Marnie and purchase an animal (we recommend a chicken as it is cheapest). History 1.4: Can now be used in Tailoring.
Spawning items in Stardew Valley is not done via commands, but rather through a cheat in which you must set your character's name, or the name of an animal, to the item code of the item you wish to spawn surrounded by.