1

Making Mod Need Help!

JakaCraft 11/1/14 9:38 am
287
11/1/2014 11:32 am
So I was making a mod and I had all this code and it has stopped working for some reason the code is below
package JakaCraft.SuperFood;

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.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;

@Mod(modid = "SF", name = "SuperFood", version = "1.0")
public class SuperFood {

public static Item itemStrawberry;

@EventHandler
public void PreInit(FMLPreInitializationEvent event) {
//Item/Block init and registering
//Config handling
itemStrawberry = new ItemStrawberry().setUnlocalizedName("itemStrawberry");
GameRegistry.registerItem(itemStrawberry, itemStrawberry.getUnlocalizedName().substring(5));
}

@EventHandler
public void init(FMLInitializationEvent event) {
//Proxy. TIleENtity, entity, GUI and Packet Registering
}

@EventHandler
public void postInit(FMLPostInitializationEvent event) {

}
}

Oh yeah are my textures any good?
Posted by
JakaCraft
Level 36 : Artisan Narwhal
18

  Have something to say?

JoinSign in

3

deadrecon98
11/01/2014 11:32 am
Level 38 : Artisan Programmer
Send me a PM and we can talk about it there. I'm pretty sure that I can solve this issue for you. ;3
1
SocialP2
11/01/2014 10:33 am
Level 25 : Expert Spelunker
Please only bump every 24 hours
1
JakaCraft
11/01/2014 10:06 am
Level 36 : Artisan Narwhal
Bump
1

Welcome