Hey, 1st thank you a lot. 2nd, I'm thinking about updating to 1.12, but there are 2 new variables in crafting (ResouceLocation name, ResourceLocation group). I know what they do but I have no idea what to put in... Any idea?
The textures don't load, even not in eclipse...
Code:
private void registerModel(Object obj, int meta, ModelResourceLocation loc) {
Item item = null;
if(obj instanceof Item) {
item = (Item) obj;
} else if(obj instanceof Block) {
item = Item.getItemFromBlock((Block)obj);
} else {
throw new IllegalArgumentException();
}
ModelLoader.setCustomModelResourceLocation(item, meta, loc);