Stardew Valley Items Codes: Get Free Prismatic Shard, Starfruit, And More
Stardew Valley Items Codes is a wonderful game about building a peaceful farm, but sometimes you just want to skip the grind. Maybe you need a Prismatic Shard for a special enchantment, or you want to fill your greenhouse with Starfruit without waiting for the season. That’s where Stardew Valley item codes come in.
These codes are not traditional cheat codes you type into a console. They are clever workarounds that use the game’s own naming system. Every item in the game has a unique numerical ID. By placing these IDs inside square brackets within your farmer’s or an animal’s name, you can make the game give you that item whenever the name is spoken. It’s a simple trick that can transform your gameplay.
Essential Stardew Valley Items Codes
| Item Code | Item Name | Primary Use |
|---|---|---|
[74] | Prismatic Shard | Enchanting tools & weapons at the Forge |
[166] | Treasure Chest | Sells for 5,000g or contains rare loot |
[72] | Diamond | Valuable gift & high-selling gem |
[337] | Iridium Bar | Crafting top-tier tools & sprinklers |
[114] | Ancient Seed | Grows valuable Ancient Fruit |
[268] | Starfruit | Base for the most profitable wine |
[279] | Magic Rock Candy | Powerful buff food for mining |
[446] | Rabbit’s Foot | Universal loved gift & bundle item |
[107] | Dinosaur Egg | Donate to museum or hatch a dinosaur |
[165] | Auto-Petter | Automatically pets barn animals |
What Are Stardew Valley Item Codes?
Think of item codes as a secret catalogue for the valley. Each object, from a common Stone (ID 390) to a rare Magic Rock Candy (ID 279), has a corresponding number. These codes are built into the game’s data. Using them is like giving the game a specific order. When you name your character [166][74][72], the game reads that as a request for a Treasure Chest, a Prismatic Shard, and a Diamond.
The beauty of this system is its simplicity. You don’t need mods for the basic method, though mods like SMAPI offer more advanced command options. It’s a tool for players who want to experiment, speed up a second playthrough, or simply enjoy creative freedom without the lengthy resource gathering.

Why Use Stardew Valley Item Codes?
The primary advantage is saving time. Grinding for rare resources like Iridium Bars or Ancient Seeds can take dozens of hours. Item codes give you instant access. This is perfect for testing different farm layouts, completing the Community Centre quickly, or experimenting with late-game crafting recipes without the usual wait.
Furthermore, codes allow for greater creative expression. You can design elaborate, decorated farms using furniture IDs or host in-game events with rare gifts for multiplayer friends. For many veteran players, these codes open up a sandbox of possibilities that aren’t easily accessible in a standard playthrough.
How to Redeem Stardew Valley Item Codes
Redeeming item codes is straightforward. Here are the two most common methods, followed by a more advanced option using game commands.
- The Character Name Method. When starting a new game or editing an existing save file, you can name your farmer using up to three item IDs in brackets. For example, naming your farmer
[337][268][74]will spawn an Iridium Bar, a Starfruit, and a Prismatic Shard whenever an NPC says your name. A popular trick is to visit Gus at the saloon on a Monday, as he will greet you by name repeatedly, allowing you to collect hundreds of items quickly. - The Animal Name Exploit. This is the most flexible method. When buying an animal from Marnie, you can name it using a single item code in brackets. Every time that animal’s name is mentioned in dialogue, you receive the item. You can repeat this with multiple animals to collect a variety of resources.
- Using Debug Commands (Advanced). For players using the SMAPI mod loader, you can use console commands. After enabling chat cheats in your save file, you can type commands
/debug additem 74to add a Prismatic Shard directly to your inventory. The command/debug iq ALL_ITEMSwill open a menu of every item in the game for you to click and spawn.
Best Practices and Common Mistakes
To ensure a smooth experience, follow these guidelines. Always use the correct format: square brackets [ ] are mandatory. You can only use a maximum of three codes in a character name at once. Remember, items only spawn when your name or your animal’s name is spoken in dialogue, so be patient.
A common mistake is using an incorrect item ID. One wrong digit can give you a completely different item. Always double-check your code from a reliable source. Finally, before making any major changes, especially when editing save files to enable debug commands, create a backup of your save game. This protects your progress from any accidental corruption.
FAQs: Stardew Valley Items Codes
Are Stardew Valley item codes considered cheating?
Using item codes certainly bypasses the intended progression. For a first-time player, it can diminish the sense of achievement. However, in a single-player game like Stardew Valley, it ultimately comes down to personal preference. Many experienced players use codes to experiment with new builds or decorate their farms without the grind.
Do item codes work on Nintendo Switch, PlayStation, or Xbox?
The primary naming exploit historically worked on all platforms. However, with recent updates, many players report that the exploit has been patched out on consoles. The methods remain consistently functional on PC and Mac versions of the game.
Can I use more than three Stardew Valley item codes at once?
No, the character name field is limited to three item IDs enclosed in brackets. If you try to add more, the game will not recognise the extra codes. To spawn more than three different items, you need to use the animal naming method or debug commands.
What is the easiest way to spawn items repeatedly?
The animal name exploit is the most repeatable method. Buy a chicken from Marnie, name it with your desired code, and then speak to an NPC like Gus or Pierre. Each time they mention the chicken’s name, you’ll get the item. You can do this with multiple animals for a steady supply.
Do Stardew Valley item codes work in multiplayer?
Yes, but with caution. If you are the host, you can use the character or animal naming tricks. However, using them can disrupt the balance for other players in your world. It’s considered good etiquette to discuss it with your friends before spawning items in a shared game.
Get More Game Codes:
Is a freelance tech writer based in the East Continent, is quite fascinated by modern-day gadgets, smartphones, and all the hype and buzz about modern technology on the Internet. Besides this, a part-time photographer and love to travel and explore. Follow me on. Twitter, Facebook Or Simply Contact Here. Or Email: info@axeetech.com




![List of All 4K HDR Movies and TV Shows on Amazon Prime Video. [Updated] Amazon 4K](https://axeetech.com/wp-content/uploads/2023/09/12Netflix.jpg)
![DC World Collide Tier List: Stop Wasting Resources on the Wrong Heroes [2026] The ranking of the DC World Collide Tier List 2026](https://axeetech.com/wp-content/uploads/2026/01/DC-World-Collide-Tier-List-2026-150x150.jpg)
