The item ID for Stardrop in Stardew Valley is:
The above cheat code applies to all platforms including PC/Mac (Steam), XBOX One, PS4 and the Nintendo Switch.
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 [ and ].
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). Name the animal  and press OK. You will then receive the stardrop item.
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. If you do wish to use this method, first set your character's name to  when creating your save. Whenever you speak to a villager that says your name in dialogue (for example Gus at the Stardrop Saloon) you will be given the stardrop item.
If you need more help with spawning stardrop, we have a detailed guide on our blog - click here to visit that page.
The stardrop is a consumable item that can can be obtained in many ways. Just a few are by purchasing it at the Stardew Valley Fair (for 2,000 gold), purchasing it from Krobus in The Sewers for 20,000 gold and taking it from a treasure chest in floor 100 at The Mines. It is a unique item as it raises your maximum energy level by 34 points permanently (when you consume it).
A mysterious fruit that empowers those who eat it. The flavor is like a dream... a powerful personal experience, yet difficult to describe to others.