How to make a resource pack for Minecraft

Minecraft 26.3

Folders, pack.mcmeta, where the texture of the desired item is located, animation, sounds and texts - and how to check the pack in the game.

  • pack_format 97
  • checked in 26.3
My game select version

We'll remember in this browser and set up where your version is available. Open link settings are more important than this choice; the Vicki versions do not change.

On page 10 sections

Briefly

Folder + pack.mcmeta with number 97 + textures on game tracks

A resource pack is a folder (or zip) with a file pack.mcmeta and folder assets. To replace the texture, place a picture with the same path and nameWhat's in the texture is your game will take yours instead of yours. For Minecraft 26.3, format number -- 97.

Pack folders

PathWhat is this
Мой пак/pack.mcmetaRequired file: format number and description. Without it, the game will not see the pack.
Мой пак/pack.pngThe pack icon in the list is a square picture. You don't have to put it in.
Мой пак/assets/minecraft/textures/Textures: blocks, objects, mobs, interface.
Мой пак/assets/minecraft/sounds/Sounds in .ogg format.
Мой пак/assets/minecraft/lang/Game texts: names of items, button labels.

Put only what you change: everything that is not in the pack, the game will take its toll. Folder assets lies right next to pack.mcmeta - an extra subfolder is the most common reason for a “pack not working”.

pack.mcmeta

Create a text file pack.mcmeta (with exactly this extension, not .txt) and paste:

{
  "pack": {
    "min_format": 97,
    "max_format": 97,
    "description": "Мой ресурспак"
  }
}

The numbers 97 are the format of Minecraft 26.3. For another version, see the number in the table «pack_format»I don't know. Pack with a different number will mark "Incompatible," but you can still turn it on -- just part of the texture might not fit. The description works. Color Codes §.

Where are the textures located?

WhatPath in the package
Diamond Swordassets/minecraft/textures/item/diamond_sword.png
Appleassets/minecraft/textures/item/apple.png
Totem of Undyingassets/minecraft/textures/item/totem_of_undying.png
Stoneassets/minecraft/textures/block/stone.png
Oak Planksassets/minecraft/textures/block/oak_planks.png
Top of grass blockassets/minecraft/textures/block/grass_block_top.png
Creeperassets/minecraft/textures/entity/creeper/creeper.png
Steve skinassets/minecraft/textures/entity/player/wide/steve.png
Heart of Healthassets/minecraft/textures/gui/sprites/hud/heart/full.png
Sightassets/minecraft/textures/gui/sprites/hud/crosshair.png
Sunassets/minecraft/textures/environment/celestial/sun.png
Glowing of enchantmentsassets/minecraft/textures/misc/enchanted_glint_item.png
Painting “Kebab”assets/minecraft/textures/painting/kebab.png
Logo in the menuassets/minecraft/textures/gui/title/minecraft.png

The file name of an item almost always matches its ID - the ID of all items and blocks is in ID directory. The originals are inside the game version file: versions/26.3/26.3.jar in folder .minecraft is a regular zip, it can be opened with an archiver.

How to redraw

Copy the original from the version archive to the same path inside the package and draw on top of any editor that keeps PNG transparent. The normal texture size is 16 x 16 pixels; you can draw 32 x 32 or 64 x 64 as long as the proportions remain the same.

Ready-made pieces of the pack can assemble generators: your sight, from the skin, own picture, The color of the light of the charm and His sun and moon.. Glues two packs into one package merger.

Animation

Animated textures are images of each other in the same picture: magma has three shots of 16 x 16, i.e. a picture of 16 x 48. They put a file with the same name next door, and .mcmeta at the end - this is how the game itself writes block/magma.png.mcmeta:

{
  "animation": {
    "frametime": 8,
    "interpolate": true,
    "frames": [
      0,
      1,
      2
    ]
  }
}

frametime - how many ticks the frame lasts (20 ticks - second), interpolate - smoothly flow between frames, frames - frame order.

Sounds and texts

The sound is replaced in the same way: a .ogg file with the same path. The sound of a creeper when it gets hit, for example - assets/minecraft/sounds/mob/creeper/say1.ogg. What sounds are there in the game and what do they mean? Sound directory.

The game texts are in assets/minecraft/lang/ru_ru.jsonI don't know. Only the lines that change are placed in their file; the rest of the game will be taken from its translation. That's how you rename things for everyone who turned on the pack.

Check in game

  1. Open the Buildings... and put the pack folder there.
  2. Puck will appear on the left, in the accessible. Press him -- he'll move right, he'll be on -- and he's ready.
  3. Now, move on to the textures -- press F3 + T: the game rereads the packs and writes "Rebooted Resource Sets," you don't have to restart.

Pack the finished pack in a zip so that pack.mcmeta was in the root of the archive, so you can give it to a friend or distribute it from the server. How to install other people's packs - on the page “How to install a resource pack”.

Frequently asked questions

How to make your own resource pack for Minecraft?

Create a folder with a pack.mcmeta file and an assets/minecraft/texts folder, put a picture there with the same way and name as the texture in the game, and move the folder to resourcepacks. The game will show the package to Resource Sets...

Which pack_format should I use?

For Minecraft 26.3 - 97. Park with another number will mark "Uncompatible," but you can still turn it on.

How to check the resource pack without restarting the game?

Press F3 + T, the game will reread all resource sets and write "Reload Resource Sets".

More on the wiki

According to Minecraft 26.3, menu signatures are from game localization, numbers and rules from client and server code; each command is checked by game.