Creating an Ore

This tutorial will explain how to create a custom ore with Custom Ores.

Creating an Ore in Game



 * 1) If you want your ore to smelt into an item, get it now. This can be a normal item, a custom item, or an item from  a supported plugin

2. Run the command /customores create ore. Make sure to replace the   with the name that you want for your custom item. Use _ rather than spaces



4. Get a texture value using this tutorial. 3. Now a UI opens with two options:


 * A. Type texture value in chat - Select "Type texture value in chat" then just paste the texture value into the chat and you're done!


 * B. Type texture value in the config - This option is best if your texture value is too long to fit in the chat. Select "Type texture value in the config" and continue making your ore. When you are done, go to the items.yml, go to your ore, and replace the value that is already there with your texture value. Finally, run the reload command.

5. The Ore Settings menu is now open. The first thing you should do here is decide what dimensions you want this ore to spawn in. You can enable or disable spawning in the Overworld, Nether, and End, by clicking the stone, netherrack, and endstone along the top.

6. Set the maximum height for the ore to spawn with the grass block and the minimum height with the bedrock. Left click will increase it and right click will decrease it. Holding shift will cause it to increase/decrease by 10.

7. Put the item you got earlier in the empty slot in the center.

8. If you want the item to drop when the ore is broken, click the furnace below the empty slot so it changes into a dropper.

9. Set the amount of ores per chunk with the sign. When you are done, click the arrow.

10. Next you will choose whether or not you want a lore. If you do choose to have a lore, just type the lore into the chat.

11. Your ore is now created! You can get the ore by using /customores give.

Creating an Ore in the Config

 * 1) Open the Items.yml file. Notice the Example Ore, which you can use as an Example
 * 2) At the top, put the name of your item, like this: Use § for color codes. & will cause problems!
 * 3) Make sure that Enabled is true so that the item will appear in game, like this: Indent with 2 spaces
 * 4) If you want a lore, add one like this:  Use § for color codes. & will cause problems! In this example, the Lore will appear as Why is there gold in the End?
 * 5) Next, you will add the texture value. Add Value: and paste the texture value, like this:
 * 6) Now set the number of ores per chunk, like this: Type NumberPerChunk: and then the number that you want
 * 7) Set the MaxY and the MinY. These are the maximum and minimum height that your ore can spawn at. In this example, ores will spawn between 15 and 55
 * 8) After that, set which dimension ores will spawn in. You can do this by setting each dimension (Overworld, Nether, and End) as either true or false, like this: In this example, ores will only spawn in the end, as that is the only one enabled
 * 9) If you want your ore to smelt into an item you can add one by setting Smelt Item as the items name and Smelt Amount as the amount of items for your ore to smelt into. You can use normal item, a custom item, or an item from a supported plugin. In this example, the ore will smelt into 5 golden ingots
 * 10) If you want your ore to drop an item when broken, follow step 9 but add Drop Not Smelt: false to the end of it:
 * 11) Save the config and enter /customores reload on your server. The item will now be accessible with /customores give!