Jump to content

{Solved}[1.10.2] Block texture unable to be located


Recommended Posts

Posted

I managed to fix the Problem by re-creating my Texture as a 32-bit PNG file instead of the Paint.net default of 24-bit.

 

Its now working as intended.

 

Maybe you guys should state somewhere that 24-bit PNG files will not be accepted.

Minecraft only accepts multiples of 16.

 

He's talking color depth, not pixel dimensions.

http://stackoverflow.com/questions/22707130/what-is-difference-between-png8-and-png24

Alright that is me being ignorant...I was not aware there was a 32 bit when it came to pngs. My image editor has an auto-detect for that so it doesn't ask for input, and I am by no means an image design person.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted

Alright that is me being ignorant...I was not aware there was a 32 bit when it came to pngs. My image editor has an auto-detect for that so it doesn't ask for input, and I am by no means an image design person.

 

Most people aren't aware of it.

Also, the difference between PNG-24 and PNG-32 is that PNG-32 supports transparency (the link earlier was 8 vs. 24, which is color depth; still true going to 32, but its about where those 8 bits get assigned).  PNG-24 should work and I suspect that merely re-saving the image fixed things.  But for shits and giggles I stripped the alpha off one of my textures in GIMP to see what happens (GIMP automatically selects PNG-24 or 32 based on whether or not any layer has an alpha channel).

 

And....loaded in just fine.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

Alright that is me being ignorant...I was not aware there was a 32 bit when it came to pngs. My image editor has an auto-detect for that so it doesn't ask for input, and I am by no means an image design person.

 

Most people aren't aware of it.

Also, the difference between PNG-24 and PNG-32 is that PNG-32 supports transparency (the link earlier was 8 vs. 24, which is color depth; still true going to 32, but its about where those 8 bits get assigned).  PNG-24 should work and I suspect that merely re-saving the image fixed things.  But for shits and giggles I stripped the alpha off one of my textures in GIMP to see what happens (GIMP automatically selects PNG-24 or 32 based on whether or not any layer has an alpha channel).

 

And....loaded in just fine.

Yes I went and looked for myself what the PNG-32 is, but thank you for explanation. It definitely assures what I read. And that would most likely be the case then.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted

Ive not been refering to the qword Bit wrongly.

All my Textures are, of course 16x16px in size.

Though it apparently made a difference wether the color Depth was 24bit or 32bit. Because 24bit allways return "Bad PNG signature" during stitching for me.

 

Using 32bit color depth mitigates this problem and all textures work as intended.

Posted

Odd.  Mind posting that (bad) texture somewhere? (if its in a git repo, just link me to the texture there).

I'd be interested in poking at it.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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.