Topic category: Troubleshooting, bugs, and solutions
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.registerOre("plankWood", mcreator_azurebirchplanks);
to
OreDictionary.registerOre("plankWood", mcreator_azurebirchplanks.block);
I did, and it still didn't work
Is there another way to test if I am referencing the item correctly?
Check how MCreator references in in procedures for example.