Posted December 25, 201410 yr Im making my first mod and I learned how to make crafting recipes. When i tried to test it out the game launched and I could play but when I tried the crafting recipe nothing happened . Any help would be great code: package com.ethan.ethansmod; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.registry.GameRegistry; @Mod(modid = Ethansmod.MODID, version = Ethansmod.VERSION) public class Ethansmod { public static final String MODID = "my mod"; public static final String VERSION = "1.0"; public void init(FMLInitializationEvent event) { GameRegistry.addRecipe(new ItemStack(Items.baked_potato), "aaa", "aaa", "aaa", 'a', Blocks.bookshelf ); } } ----------------------------- I am using forge for 1.7.10 on a mac
December 25, 201410 yr Author sorry I'm very new to this and I am confused on what your saying do think you could show me in code what you mean? Thank you
December 25, 201410 yr Hi This link might help too with some background information http://greyminecraftcoder.blogspot.com/2013/11/how-forge-starts-up-your-code.html -TGG
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.