Oredictionary Support

Started by DKMK100 on Sun, 04/07/2019 - 03:29

Topic category: Bugs and solutions

Last seen on 00:41, 12. Dec 2019
Joined Jun 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Oredictionary Support
Sun, 04/07/2019 - 03:29

I have been using multiple tutorials for ore dictionary support in order to add ore dictionary to my mod, and as near as I can figure I have done everything correctly. Any help will be much appreciated. Any help is appreciated!

CommonProxy code:

package mod.mcreator;

import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.oredict.OreDictionary;
import net.minecraft.item.ItemStack;
import mod.mcreator.exploration_expansion;
public class CommonProxyexploration_expansion {

    public void preInit(FMLPreInitializationEvent event) {
    }

    public void init(FMLInitializationEvent event) {
    OreDictionary.registerOre("plankWood", mcreator_azurebirchplanks);
    }
}

 

0Upvote this forum topic
Change  OreDictionary…
Sun, 04/07/2019 - 10:11

Change

 OreDictionary.registerOre("plankWood", mcreator_azurebirchplanks);

to

 OreDictionary.registerOre("plankWood", mcreator_azurebirchplanks.block);

0Upvote this forum topic
Last seen on 00:41, 12. Dec 2019
Joined Jun 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I did, and it still didn't…
Sun, 04/07/2019 - 18:25

I did, and it still didn't work

0Upvote this forum topic
Last seen on 00:41, 12. Dec 2019
Joined Jun 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Is there another way to test…
Sun, 04/07/2019 - 18:26

Is there another way to test if I am referencing the item correctly?

0Upvote this forum topic