Hi Draco, do you by any chance know of an example on how to use the RegistryName. I have been trying to update my mod to 1.9, but I cant get the item texture to load.
ModelLoader.setCustomModelResourceLocation(LotsOMobsItems.DeerHide, 0, new ModelResourceLocation(LotsOMobsItems.DeerHide.getRegistryName().toString(), "inventory"));
Thats the line Im trying to register the model with.
public static void itemInit()
{
DeerHide = registerItem(new ItemMaterials("DeerHide"));
}
private static <T extends Item> T registerItem(T item) {
GameRegistry.register(item);
return item;
}
And here I register them.