#1.20 Textures not working

14 messages · Page 1 of 1 (latest)

thorny quiver
#

!faq 1.19.3-texture

eager pantherBOT
# thorny quiver !faq 1.19.3-texture

(Result for "java-1.19.3-textures")

General Information:
The game creates a "texture atlas" (combination of all textures into one file) for block/item models.
For performance reasons as of Java 1.19.3 the game by default only loads textures from within textures/item and textures/block (and any folders within those two folders) into that atlas instead of reading through every model for the relevant textures.

_________________________

Making the game load from custom directories
If you want the game to add textures from other directories (that are still somewhere within the "textures" folder) to that atlas you will need to create a blocks.json file in YourPack/assets/minecraft/atlases:

Example blocks.json

{
    "sources": [
        {
            "type": "directory",
            "source": "custom",
            "prefix": "custom/"
        }
    ]
}```
This example would make the game add _all_ textures that are within `textures/custom` to the atlas. This **even** applies to images that are not used by your models, so keep your pack clean for better performance and smaller size!.

**_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_**

**Additional/more specific information**:
If you have several custom directories you can add several json objects in the "sources" list/array.
blocks.json's of different packs combine btw, so you don't need to worry that one pack will stop another pack from loading their textures.

Here is also an example pack from a Minecraft dev (boq) with some more specific examples (like only using the face part of the default pig texture instead of loading all entity textures or the whole pig texture): <https://cdn.discordapp.com/attachments/593812273164976166/1042452631743901756/sprites.zip>

The official blog post with the changes (you will have to scroll down quite a bit for the relevant information): <https://www.minecraft.net/en-us/article/minecraft-snapshot-22w46a>
proper crane
#

I'm sorry, but I don't understand what you're referring to specifically.

mossy notch
proper crane
mossy notch
#

what part do you get stuck on? (and don't say "everything")

proper crane
#

I don't know how to connect the textures with the "atlases" folder.

mossy notch
#

in your case you literally only need that bot example

#

It says

This example would make the game add all textures that are within textures/custom to the atlas.
right below the .json example.
I don't know how that is explained in a way that "isn't comprehensible"

#

Especially since that is the exact folder name you are using too.

proper crane
#

Yes, I did it exactly like that, but still, my textures are not showing up.

#

Wait, why does it suddenly work now? But thank you anyway, and have a great day!

mossy notch
proper crane
#

No, but I created a JSON file and edited it. It didn't work, but when I copied it into a text editor and saved it as a JSON file, it worked.