public class Items {
public static Item test_item;
public static void init(){
test_item = new Item().setUnlocalizedName("test_item");
}
public static void register(){
GameRegistry.registerItem(test_item, test_item.getUnlocalizedName().substring(5));
}
public static void registerRenders(){
}
public static void registerRender(Item item)){
Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(Reference.MOD_ID + ":" + item.getUnlocalizedName().substring(5), "inventory"));
}
}
This hasn't been working. It's probably because I haven't modded since the first version of 1.8, and I've forgot quite a bit. A tutorial would still be nice for 1.9.