minecraft-resource-pack
Create and debug Minecraft 26.x and 1.21.x resource packs, including pack metadata, textures, models, blockstates, item definitions, sounds, fonts, animations, and shaders. Use for client-side visual or audio assets without gameplay code.
Jahrome907 · AI review on file
Installation
Read the source and dependencies before running a command. Copying does not install or execute anything.
npx skills add Jahrome907/minecraft-agent-skills --skill minecraft-resource-packAbout this skill
name: minecraft-resource-pack description: "Create and debug Minecraft 26.x and 1.21.x resource packs, including pack metadata, textures, models, blockstates, item definitions, sounds, fonts, animations, and shaders. Use for client-side visual or audio assets without gameplay code."
Minecraft Resource Pack Skill
What Is a Resource Pack?
A resource pack is a folder (or .zip) that overrides or adds Minecraft's visual and
audio assets: textures, models, sounds, language files, and fonts. No Java or mod
loader is required for those vanilla assets.
Routing Boundaries
Use when: the deliverable is visual/audio assets (textures, models, sounds, fonts) in resource-pack format.Do not use when: the task requires gameplay logic or runtime behavior changes (useminecraft-datapack,minecraft-plugin-dev, orminecraft-modding).Do not use when: the task is server infrastructure/runtime administration (minecraft-server-admin).
Pack Metadata
| Minecraft Version | Preferred pack metadata |
|---|---|
| 1.21 / 1.21.1 | pack_format: 34 |
| 1.21.2 / 1.21.3 | pack_format: 42 |
| 1.21.4 | pack_format: 46 |
| 1.21.5 | pack_format: 55 |
| 1.21.6 | pack_format: 63 |
| 1.21.7 / 1.21.8 | pack_format: 64 |
| 1.21.9 / 1.21.10 | min_format: [69, 0], max_format: [69, 0] |
| 1.21.11 | min_format: [75, 0], max_format: [75, 0] |
| 26.1 | min_format: [84, 0], max_format: [84, 0] |
| 26.2 | min_format: [88, 0], max_format: [88, 0] |
Use legacy pack_format only for resource formats below 65 (through 1.21.8).
Resource format 65 and later require both min_format and max_format; use
[major, minor] for exact patch targeting, including .0 such as [84, 0].
An integer or [major] min_format means [major, 0]; an integer or
[major] max_format permits every minor version on that major line. Do not
write decimal JSON numbers. A legacy-only pack can use its integer
pack_format alone. A range whose min_format includes a legacy format needs
integer pack_format and supported_formats; do not include
supported_formats for a modern-only range.
Directory Layout
my-pack/
├── pack.mcmeta
├── pack.png ← 64×64 icon (optional)
└── assets/
└── minecraft/ ← override vanilla (or <namespace>/ for new packs)
├── models/
│ ├── block/
│ │ └── stone.json
│ └── item/
│ └── diamond_sword.json
├── items/ ← 1.21.4+ item model definitions
│ └── diamond_sword.json
├── blockstates/
│ └── stone.json
├── textures/
│ ├── block/
│ │ └── stone.png
│ ├── item/
│ │ └── diamond_sword.png
│ ├── gui/
│ │ └── sprites/
│ │ └── my_sprite.png
│ └── entity/
│ └── zombie/
│ └── zombie.png
├── sounds/
│ └── custom/
│ └── my_sound.ogg
├── sounds.json
├── font/
│ └── default.json
└── lang/
└── en_us.json
Client-mod-specific files such as OptiFine CIT and Iris shader packs use their own formats. Read conditional assets before adding them.
pack.mcmeta
1.21.8 and earlier
{
"pack": {
"pack_format": 64,
"description": "My Custom Resource Pack v1.0"
}
}
1.21.9 / 1.21.10
{
"pack": {
"min_format": [69, 0],
"max_format": [69, 0],
"description": "My Custom Resource Pack v1.0"
}
}
1.21.11
{
"pack": {
"min_format": [75, 0],
"max_format": [75, 0],
"description": "My Custom Resource Pack v1.0"
}
}
26.2
{
"pack": {
"min_format": [88, 0],
"max_format": [88, 0],
"description": "My Custom Resource Pack v1.0"
}
}
Block Models
assets/minecraft/models/block/my_cube.json
Full cube — all six faces use the same texture:
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "minecraft:block/stone"
}
}
Column block (like logs):
{
"parent": "minecraft:block/cube_column",
"textures": {
"end": "mypack:block/my_pillar_top",
"side": "mypack:block/my_pillar_side"
}
}
Different sides:
{
"parent": "minecraft:block/cube",
"textures": {
"up": "mypack:block/my_block_top",
"down": "mypack:block/my_block_bottom",
"north": "mypack:block/my_block_side",
"south": "mypack:block/my_block_side",
"east": "mypack:block/my_block_side",
"west": "mypack:block/my_block_side",
"particle": "mypack:block/my_block_side"
}
}
Cross model (flowers, plants):
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "mypack:block/my_flower"
}
}
Custom geometry (elements)
{
"credit": "Custom model",
"ambientocclusion": true,
"textures": {
"0": "mypack:block/panel",
"particle": "mypack:block/panel"
},
"elements": [
{
"from": [0, 0, 7],
"to": [16, 16, 9],
"faces": {
"north": { "texture": "#0", "uv": [0, 0, 16, 16] },
"south": { "texture": "#0", "uv": [0, 0, 16, 16] }
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
}
}
}
fromandtoare in 1/16th block units (0–16).uvis[x1, y1, x2, y2]in 0–16 units.
Item Models
For 1.21.4 and later, use item definitions in
assets/<namespace>/items/. For 1.21.3 and earlier, use the legacy model
overrides array. Read conditional assets
for the string-based current custom_model_data selector and the legacy numeric
predicate; their values