Posted July 6, 20178 yr So I'm trying to make a JSON file for a specific item in a mod I'm working on, but it's not rendering the textures in game, though the texture files are in the right folders that the file is set to look through. Below is the JSON file. itemrevolver.json
July 6, 20178 yr 5 minutes ago, Camellias said: though the texture files are in the right folders that the file is set to look through "0": "blocks/gunhilt", "1": "blocks/gunbarrel", "2": "blocks/merp", "3": "blocks/revolver" No they are not. You need to have a modid as a domain for your textures locations otherwise the game is going to look for them at assets/minecraft/textures/
July 6, 20178 yr Author Oh. Well, I'll see what that does. I'm assuming I just set it as camfm/resources/textures/blocks/(insert texture name here), correct? camfm is the mod id Never mind. I either assumed wrong, or that doesn't fix it. Edited July 6, 20178 yr by Camellias
July 6, 20178 yr No, you set it as %modid%:%path%. In your case it would be camfm:blocks/%name%. Also, if this 3 minutes ago, Camellias said: camfm/resources/textures/blocks/(insert texture name here) is your folder structure then it is incorrect. The folder structure for resources is assets/modid/. Any other folders(including the textures one) must be located in a folder with a name of your modid. From there you can structure it as you want. Edited July 6, 20178 yr by V0idWa1k3r
July 6, 20178 yr Author Yeah, I just messed up writing the path from memory. Dumb mistake on my part. But yes, that works. Thank you, so much.
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.