Jump to content

Adding sub folders for assets/modid/models/item/dust,ingot and etc.


Guest

Recommended Posts

Hello, could someone help me with textures please ? I tried making better folder setup in assets/modid/models/item - I made sub folders like dust/ingot/plate/rod etc. .. same in textures/item/dust/gear/ingot/etc.. and broke textures for items which I placed into these folders, I've been trying to fix it for 4 hours and I have no clue what's wrong :(, Could someone help me please ?

In logs is this [19:39:38] [Worker-Main-4/WARN] [minecraft/ModelBakery]: Unable to load model: 'modid:bronze_ingot#inventory' referenced from: modid:bronze_ingot#inventory: java.io.FileNotFoundException: modid:models/item/bronze_ingot.json

I have it under assets/modid/models/item/ingot/bronze_ingot.json

2022-11-08_21.53.45.png

but it's looking for models/item/bronze_ingot.json, how can I make it look for models/item/ingot/bronze_ingot.json please ?

Items which are in sub folders don't work but items which are in models/item/ are working normally

Link to comment
Share on other sites

You cannot unless maybe you register your item with the ResourceLocation modid:ingot/bronze_ingot

But that might cause other problems? Never tried it.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

Well, thing is that I have over 150 dusts and over 50 ingots and all in one folder looks very ugly, so I was thinking if there's better way to sort it by sub folders.

Link to comment
Share on other sites

You can use datagen. I imagine creating models, tags and recipes manually for that number of items is pretty tedious and error prone.

https://forge.gemwire.uk/wiki/Datageneration

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.