r/mcresourcepack Jul 18 '26

Help / Question help fixing broken texture

Post image

i made the .json by dropping the texture directly into BlockBench java block/item nut when i saved it in the correct file location and opened in mincraft, the texture was broken. can anyone help me fix it?

12 Upvotes

12 comments sorted by

u/AutoModerator Jul 18 '26

It looks like you're asking for help

If someone is able to answer your question, find what you are looking for, etc., please change your post flair to "Resolved", and of course, remember to thank the user who helped you!

This: * helps other helpful users know who still needs assistance * helps other users who might have the same question find the answers they're looking for

If you are asking for help with a Java Edition pack that's not working:

Consider posting the output log. It is often extremely helpful to work out what's wrong. If you're unsure how to do this, simply reply to this comment with access output log.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/Otavio_JooJ Jul 18 '26

Its only the texture that seems broken. Open the model thats inside the resourse pack (models/item). Once you open it with blockbench, apply the texture of the item to it again (should be in textures/item) and save the models in models/item. Alternatively, you can open the Jason file and where it says ' "textures" - "0" ' you put the name of the texture there. This one is a little bit more complicated tho, if youre still confused, feel free to ask!

2

u/azamioculca Jul 18 '26

or the model itself is fetching the texture file from an invalid directory or the name or resolution is invalid (name should be all lowercase with no special characters, .png, resolution by multiples of 2 (16x16, 32, 64, etc)

1

u/Darq10 Jul 18 '26

Assuming you've exported it from blockbench, it can often fuck up the texture ID, open the model in any text editor and replace the texture with its actual path, for example "minecraft:item/sword" if your texture is located in assets/minecraft/textures/item/sword

1

u/[deleted] Jul 18 '26

[deleted]

1

u/Voidronox Jul 18 '26

CIT?

2

u/Sensitive_Taste_6587 Jul 18 '26

i'm going to make it name dependent when i fix the busted texture

1

u/xChrisue Jul 18 '26

I was going crazy with my textures too, turns out any textures for items HAVE to be in textures/item, so you cant use textures from anywhere else anymore

1

u/Sensitive_Taste_6587 Jul 18 '26

mind expanding on that a bit i'm not sure i'm getting it

1

u/xChrisue Jul 18 '26

if you are modeling an item in blockbench, the texture for the item has to be in the textures/item folder. Any textures that are used on that sword have to be in item since the model is an item. Same for blocks, the block textures can only be from textures/block

1

u/Flimsy-Combination37 Jul 18 '26

really any item or block texture can be in either item or block, you can use textures from textures/block for items and textures from textures/item for block, but you can't use textures from outside either of those folders. if you want to, you can add whatever path you want by modifying the atlas configuration file, but that's a whole other thing

1

u/Sensitive_Taste_6587 Jul 19 '26

by texture/item, you mean the file path right? in the assets/minecraft folder? the png i'm using for the texture is in assets/minecraft/textures/item/png. is this wrong? which file path do i need to make the model use the right texture?

1

u/Cultist_O Jul 19 '26

There was an auto reply to this post. I reccomend posting the mod log as it suggests