1

Making Mod Need Help!

JakaCraft's Avatar JakaCraft11/1/14 9:38 am
1 emeralds 270 3
11/1/2014 11:32 am
deadrecon98's Avatar deadrecon98
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's Avatar
JakaCraft
Level 36 : Artisan Narwhal
17

Create an account or sign in to comment.

3

1
11/01/2014 11:32 am
Level 38 : Artisan Programmer
deadrecon98
deadrecon98's Avatar
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
11/01/2014 10:33 am
Level 25 : Expert Spelunker
SocialP2
SocialP2's Avatar
Please only bump every 24 hours
1
11/01/2014 10:06 am
Level 36 : Artisan Narwhal
JakaCraft
JakaCraft's Avatar
Bump
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome