A Minecraft Java texture pack is a resource-pack folder containing pack.mcmeta and an assets tree. For Java 26.2, use resource-pack format 88.0, put replacement PNGs at their exact lowercase resource paths, then enable the folder through Options > Resource Packs. This guide creates one dirt-block replacement; other resources can use different paths.
Create a new folder named My_Texture_Pack. Build the pack here instead of copying or deleting files inside Minecraft's version JAR.
2
Add the 26.2 metadata
Inside My_Texture_Pack, create a file named exactly pack.mcmeta. Its complete contents should be: {"pack":{"description":"My texture pack","min_format":88,"max_format":88}}. Make sure the editor did not append .txt to the filename.
3
Create the texture path
Inside the pack, create assets/minecraft/textures/block. Keep every folder name lowercase.
4
Add one replacement PNG
Create or edit a PNG named dirt.png and put it in the block folder. Use artwork you created or have permission to use; this example changes only the dirt-block texture.
5
Move the pack into Minecraft
In Minecraft Java 26.2, select Options > Resource Packs > Open Resource Pack Folder. Move the entire My_Texture_Pack folder into the folder Minecraft opens.
6
Enable and test the pack
Return to Minecraft, select My_Texture_Pack under Available Resource Packs, and select Done. Open a world and inspect a dirt block. Success means the pack loads without an incompatible warning and dirt uses your PNG.
If it does not work
If the pack is absent, confirm pack.mcmeta sits beside assets and is not named pack.mcmeta.txt.
If dirt is unchanged, verify the exact lowercase path assets/minecraft/textures/block/dirt.png.
If Minecraft shows an incompatible warning, this guide targets Java 26.2; use metadata documented for the release you are actually testing.
If you later distribute a .zip, put pack.mcmeta and assets at the archive root rather than wrapping them in another folder.
ⓘ Sources and verification
Checked against official documentation on . Scope: Minecraft Java Edition 26.2.
This version-specific example uses Mojang's current 26.2 pack format and the documented Java resource-pack loading path.