

With the help of the ore dictionary, you can now make multiple mods that use a single file for all the required items. Mod.addToOreDictionary( "cobaltIngot", "CobaltModID:cobaltIngotID:0" ) that would be (definition name, id value, damage value) Mod.addToOreDictionary( "woodPlank", "OakPlanksModID:redOakPlanks" ) Also, you cannot use aliases when defining an ore definition. Just like aliases, you need to add the line within the mod.js file for your mod.
Mcreator ore dictionary how to#
Here are a few examples of how to add to the ore dictionary.

In addition to using ore definitions already listed, you can add new ore definitions or even add your own ids to existing definitions. Here is an example recipe using the woodPlank definition.

To use them in your mod, just include the ore dictionary name (which will be listed later) with a colon(:) before it. Although not all vanilla items and blocks are covered by the ore dictionary, many useful ones are present. To solve these problems, you can use ore definitions from Forge's ore dictionary in Custom Stuff 2. Ever wish you could make your Custom Stuff blocks and items compatible with other mods without needing to add recipes that break every time you change recipes? Do you want to be able to use items such as copper ore which are found in countless other mods without having to worry about adding/removing recipes every time you change mods?
