I know it's most beginner question ever and there are millions upon millions of guides how to add them (tried quite mant of them) but when i use itemDef.modelId, it takes 4037 model of elf head from cache (checked) and not from my raw folder. I use Pi (cause it's way simplier for me, idc that it's buggy asf, just trying to have fun)
Problem should be with
Code:
File file = new File("./Raw/"+index+".dat");
but i can't put index there (gives compailing error(also tried .index. and *))
Didn't see similar post anywhere (exactly like that) so felt like it might help other people who are too fancy to go on and try better clients