![]() Don't touch class MCreatorOreDictRegistry extends Elementstesting_workspace. CflHe'lelM E (cyujecm6o) creature CO3,lJ,fiT611lb, H m. The final code should look like this: // List of imports. 3Vi'rcn ypll this ore COFflaCV'ITbCfl cosiiHne contains uranium coneleilimloe. In this tutorial, my item element was called RedStick, so "MCreator YourElement.block" will become "MCreator RedStick.block". Replace YourElement with the name of your mod element. One might also want every 'oreIron' or 'treeSapling' etc. For example, I want to find every item which counts as 'dyeYellow' in Sky Factory 2.5. Make sure not to use the one you picked in step 1! I already used "woodStick", so now I'll have to write "dyeRed". How can I view all items in an Ore Dictionary entry I was wondering if there was a way to use NEI or similar to view every item which is in a specific Ore Dictionary name in a given modpack. Replace oreDictEntry with the entry you want your item to be. Don't touch class MCreatorOreDictRegistry extends Elementstesting_workspace.ModElement brackets of public void init: OreDictionary.registerOre("oreDictEntry", MCreatorYourElement.block) Your code should look like this once you remove the unnecessary parts: // List of imports. Start by removing some of the methods: all you need are the constructor and the " public void init". This is where the code will go: don't worry, it's not as difficult as it might sound. Step 2: create a "Custom element" element Also remember the name of your mod element, as you'll need it for step 3. It doesn't matter which one you choose, but keep it in mind for the next steps. You can add your element to one of the ore dict entries. For this tutorial, we'll create an item that can be used both as a stick ("stickWood") and as a red dye ("dyeRed"). The element creator currently supports only one ore dict entry, but with a little bit of code it's possible to add the same item to multiple entries. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |