Oredictionary Support

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

Topic category: Bugs and solutions

Last seen on 00:35, 25. Jul 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);
    }
}

 

Last seen on 07:08, 21. Aug 2019
Joined Apr 2010
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
  • developer
Change  OreDictionary…
Sun, 04/07/2019 - 10:11

Change

 OreDictionary.registerOre("plankWood", mcreator_azurebirchplanks);

to

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

Last seen on 00:35, 25. Jul 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

Last seen on 00:35, 25. Jul 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?

Last seen on 07:08, 21. Aug 2019
Joined Apr 2010
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
  • developer
Check how MCreator…
Mon, 04/08/2019 - 18:09

Check how MCreator references in in procedures for example.