The item ID for Sweet Gem Berry in Stardew Valley is:417
This cheat works on PC, XBOX One, PS4 and the Nintendo Switch.
Item spawning in Stardew Valley isn't accomplished through typical commands. Instead, it involves a cheat method where you name your character, or an animal, with the item code of the desired item, enclosed in square brackets [ and ]. Include the brackets when naming.
To spawn this item, buy an animal (we recommend a chicken because it is the cheapest) from Marnie's Ranch, name it [417]. You will then receive the Sweet Gem Berry item.
Since you can only set your character's name once at the game's inception, we advise using the animal naming method.
However, if you opt for this method, name your character [417]while creating your save file. When you converse with any villager who mentions your name in their dialogue, like Gus at the Stardrop Saloon, you'll receive the Sweet Gem Berry item.

| Item ID | 417 |
| Sell Price | 3000 |
The Sweet Gem Berry is a crop that grows from a Rare Seed after 24 days. It is not considered a Fruit or Vegetable and cannot be used in a Keg or Preserves Jar, nor does it benefit from the Tiller profession.
Rare Seeds can be purchased from the Traveling Cart for 1,000g in Spring & Summer, or for 600–1,000g in any season. A Seed Maker can also produce Rare Seeds from a Sweet Gem Berry.
Despite its high value, the berry is regarded as a neutral gift by all the NPCs in Stardew Valley. When given to Old Master Cannoli in the Secret Woods, the player receives a Stardrop in return. In multiplayer, all players receive a Stardrop with the gift of a single berry.