1

Forge image display modding help

sippiboy 2/14/15 9:55 pm
223
So i recently wanted to try at making a simple mod adding in some new tools. So far, i added the item and named it, but i cant seem to get a picture to display on it can someone help me?

code
package com.SippiboyTidBitsandBobs;


import net.minecraft.item.Item;
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;
import cpw.mods.fml.common.registry.GameRegistry;

@Mod(modid = "tbb", name = "TidBitsAndBobs", version = "1.0")
public class TidBitsandBobs {

public static Item itemWitheredPickaxe;

@EventHandler
public void preInit(FMLPreInitializationEvent event) {
//Item/block init registering
//config handling
itemWitheredPickaxe = new ItemWitheredPickaxe().setUnlocalizedName("WitheredPickaxe").setTextureName("tbb:wpick");
GameRegistry.registerItem(itemWitheredPickaxe, itemWitheredPickaxe.getUnlocalizedName().substring(5));
}

@EventHandler
public void init (FMLInitializationEvent event) {
//Proxy, Title entity, entity, GUI and packet registering
}

@EventHandler
public void postInit(FMLPostInitializationEvent event) {

}



}
Posted by
sippiboy
Level 26 : Expert Artist
8

  Have something to say?

JoinSign in

Welcome