atlases
The atlas is how Minecraft loads textures into the resource pack, which speeds up loading and discards unnecessary elements. For example, by default, it only loads textures that are inside item/ and block/
📦resource_pack.zip
└── 📁assets
└── 📁minecraft
└── 📁atlases
├── 📑armor_trims.json
├── 📑banner_patterns.json
├── 📑beds.json
├── 📑blocks.json
├── 📑items.json
├── 📑chests.json
├── 📑decorated_pot.json
├── 📑gui.json
├── 📑map_decorations.json
├── 📑mob_effects.json
├── 📑paintings.json
├── 📑particles.json
├── 📑shield_patterns.json
├── 📑shulker_boxes.json
└── 📑signs.jsonExamples
In 1.21.11, blocks.json was split into blocks.json and items.json, and each must be used respectively.
You will mainly use this to be able to add textures outside the item/ and block/ paths
For example for this
It would not work since I am starting from the custom/ directory so I need to go to the items.json atlases and place something like
In versions prior to 1.21.11, you must use blocks.json
that will specifically load that exception, but to avoid this kind of problems, it is better just to add that everything inside the custom/ folder is automatically added to the atlas
Paletted Permutations
Paletted permutations is a way that Minecraft added to be able to create new textures with new colors from a base and a palette of colors
armor_trims.json
And the result will be exported to <base_texture>_<permutation> in this case minecraft:trims/entity/humanoid/dune_amethyst
This can also be used in Items. An example would be this:
items.json
In versions prior to 1.21.11, you must use blocks.json
Last updated