Oredictionary Support

Started by DKMK100 on

Topic category: Troubleshooting, bugs, and solutions

Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oredictionary Support

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);
    }
}

 

Change  OreDictionary…
Sun, 04/07/2019 - 10:11

Change

 OreDictionary.registerOre("plankWood", mcreator_azurebirchplanks);

to

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

Joined Jun 2018
Points:

User statistics:

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

I did, and it still didn't work

Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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?