XMODhub Home
Switch language
English
Custom Ore Nodes Mod Menu

Custom Ore Nodes

Creator: aedenthorn
Updated:23/10/2025 02:20:01
19KB
Verified by McAfee SECURE
Authentification
Trusted by 200,000,000+ Users

Pre-required Mods

will be automatically installed when you use Custom Ore Nodes

About this Mod

Allows you to create custom ore nodes that look like and drop whatever object you want.
This mod allows you to create custom ore nodes that have a chance to appear in place of regular stones (similar to other ore nodes). By default, it includes a new "coal stone" node that yields coal, and provides examples of a "pizza stone" that yields pizza and a rainbow stone that yields prismatic shards.


Use

To use this mod, target "aedenthorn.CustomOreNodes/dict" using Content Patcher, with the following syntax:

{
    "Format": "2.7.0",
    "Changes": [
        {
            "LogName": "PizzaStone",
            "Action": "EditData",
            "Target": "aedenthorn.CustomOreNodes/dict"
            "Entries": {
                "{{ModId}}_PizzaStone": {
                    "itemId": "{{ModId}}_PizzaStone"
                    "dropItems": [
                        {
                            "itemIdOrName": "206",
                            "dropChance": 100.0,
                            "minAmount": 1,
                            "maxAmount": 2,
                            "luckyAmount": 1,
                            "minerAmount": 1
                        }
                    ],
                    "oreLevelRanges": [
                        {
                            "minLevel": -1,
                            "maxLevel": -1,
                            "spawnChanceMult": 1.0,
                            "expMult": 1.0,
                            "dropChanceMult": 1.0,
                            "dropMult": 1.0,
                            "minDifficulty": -1,
                            "maxDifficulty": -1
                        }
                    ],
                    "spawnChance": 1.0,
                    "durability": 2,
                    "exp": 12
                }
            }
        },
        {
            "LogName": "PizzaStoneObject",
            "Action": "EditData",
            "Target": "Data/Objects"
            "Entries": {
                "{{ModId}}_PizzaStone": {
                    "Name": "{{ModId}}_PizzaStone",
                    "Name": "Stone",
                    "DisplayName": "Pizza Stone"
                    "Description": "Pizza Stone"
                    "Type": "Litter"
                    "Category": -999,
                    "SpriteIndex": 206,
                }
            }
        }
    ]
}


Node Explanation

  • itemId: the node item to display in the world, corresponding to a custom object in Data/Objects
  • drop itemsThe list of items to drop (see below)
  • oreLevelRangesthe list of mine levels on which this ore node can spawn (see below)
  • nodeDescDescribe your ore node.
  • spawn chanceThe base percent chance that each ordinary ore node will be this type of ore
  • durabilityhow hard it is to break this node
  • expHow much experience is gained for breaking this node?

The object referenced in Data/Objects It must have a category of -999 and its name must be "Stone", so you need to add a custom object as described above.


Item Drop List

The drop item list contains JSON objects with information on what items this node should drop as follows:

  • itemIdOrNameItem index or name (refer to Raw data) hereFor object IDs and names
  • drop chance% Chance to drop this item
  • minimum amount, maximum amountMinimum amount to drop, maximum amount to drop
  • luckyAmountAdditional amount to drop if lucky
  • minerAmountAdditional amount to drop if skilled miner


Level Range List

The level range list contains JSON objects that specify the ranges of mine floors on which this node can spawn, as follows:

  • minimum level,maximum levelset either to -1 to disable it; 121 is the first Skull Cave level; 0 means outside of the mines (0,0 means only outside of the mines)
  • spawn chance multiplier此节点在此范围内生成的基础几率的乘数
  • expMult: a multiplier for this range of the base experience for mining this node
  • dropMult: a multiplier for this range of the base amount of each item dropping from node
  • drop chance multiplier该乘数用于此范围内每个物品从节点掉落的基础几率
  • minimum difficulty, maximum difficultyNew to SDV 1.5, mines can become more difficult. Set either of these to 1 if you only want it to appear on harder levels. Set to -1 to disable.

The node mentioned above gives a 5% chance per stone of spawning a coal stone instead in the mines (levels 1-120).


Other Underground Modifications



Technical Notes

If you are trying to drop items from mods for which you don't know the ID, just use the object name (but not the display name if it's different).

The SMAPI log now displays clearer messages to indicate when there is an issue with your syntax. Refer to it if you encounter any problems.

The screenshots were created using Custom Dungeon Floors which allows for spawning more stones, among other things.

Requires SMAPIIt uses Harmony.

Source code is available at https://github.com/aedenthorn/StardewValleyMods/.

Here is the translation from auto to English: A list of all my mods for Stardew Valley is available at https://www.nexusmods.com/stardewvalley/articles/895.

Unlock the full potential of Stardew Valley with XMODhub—explore these top mods today!

Verified by McAfee SECURE
Authentification
Trusted by 200,000,000+ Users

Need help with download or installation? Join our Discord community for support.

XMODhub Home
Language
Switch language to Chinese Traditional
Switch language to English
Switch language to German
Switch language to Korean
Switch language to Thai
Switch language to Indonesian
Switch language to Vietnamese
Switch language to Turkish
Switch language to Portuguese
Switch language to Japanese
Switch language to Polish
Switch language to French
Switch language to Spanish
Switch language to Italian

Gaming solutions

Resources

Partners

Follow us on

Visit XMODhub DiscordVisit XMODhub FacebookVisit XMODhub on XVisit XMODhub YouTubeVisit XMODhub TikTokVisit XMODhub Reddit
Contact Support:
support@xmodhub.com
Xmod_Lily
Business Inquiries:
dc@xmodhub.com or lynn@business.xmodhub.com
catherine_79237

Larvas Limited

Room 1201, 12/F Tai Sang Bank Building 130-132 Des Voeux Road Central HK