Posted May 21, 20205 yr Hello, i only started to learn Forge modding. I followed to guide here www.youtube.com/watch?v=qX-nyprSDAM to create item (for instance, sun_crystal). I created item, gave it name, created .json files in .../lang, .../models and .../textures. For some reason, when i compile and run project in intellij, it says [Server-Worker-3/WARN] [minecraft/ModelBakery]: Unable to load model: 'mom:sun_crystal#inventory' referenced from: mom:sun_crystal#inventory: java.io.FileNotFoundException: mom:models/item/sun_crystal.json , and so it does not register model for sun crystal and does not register texture fore it, despite I clearly see sun_crystal.json in .../models/item/ main.zip Edited May 22, 20205 yr by Monroth
May 21, 20205 yr What version is this for? Also, you should post your project as a github repository, it makes it much easier to see the big picture.
May 22, 20205 yr You're passing com.monroth.arcanapp.master_of_magic.MOD_ID as the deferred registry's ID, which is "arcpp" from the sounds of it. However, your mod's id is "mom". Also, your assets aren't in the right directory for either of those ids, as that's titled "master_of_magic". My recommendation would be to pick one of those three and stick with it. I'm eager to learn and am prone to mistakes. Don't hesitate to tell me how I can improve.
May 23, 20205 yr Author Somewhere between posting first time and creating github i tried to change modname\modId from arcanapp\arcpp to master_of_magic\mom, and it seems that there was some unchanged parts left ) ok, i fixed that. However, i thought that folder in /assets/ is not necessary named as modId, as otherwise how did it found en_us.json in /lang/? Name of item was shown correctly. Anyway, that solved problem only partially. After fixing name of folder in assets, model started to register, but texture [03:07:52] [Server-Worker-4/ERROR] [minecraft/AtlasTexture]: Using missing texture, unable to load mom:textures/items/sun_crystal.png : java.io.FileNotFoundException: mom:textures/items/sun_crystal.png is still missing, for unclear reasons Edited May 23, 20205 yr by Monroth
May 23, 20205 yr The model JSON is looking for a texture in items, but the actual folder is Items; it's case-sensitive. I'm eager to learn and am prone to mistakes. Don't hesitate to tell me how I can improve.
May 23, 20205 yr Also, side note, you should not use mom as a modid if you plan on releasing your mod, it's too short.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.