minecraft-resource-pack
A specialized tool for creating and modifying Minecraft 1.21.x resource packs, including block models, textures, and UI assets.
Install
mkdir -p .claude/skills/minecraft-resource-pack && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12510" && unzip -o skill.zip -d .claude/skills/minecraft-resource-pack && rm skill.zipInstalls to .claude/skills/minecraft-resource-pack
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Create and edit Minecraft resource packs for 1.21.x including custom block models, item models, blockstate definitions, textures (PNG format requirements), sounds.json, custom fonts, MCMETA animation files, OptiFine CIT (Custom Item Textures), and pack.mcmeta format. Covers the full block/item model JSON schema (parent, textures, elements, display, overrides), multi-layer items, GUI textures, GUI sprites, language files, shader integration (core shaders, Iris), and the pack format numbers for each 1.21.x version. Use to customize how Minecraft looks and sounds without mods.Key capabilities
- →Create custom block models
- →Edit item models and blockstate definitions
- →Manage textures with PNG format requirements
- →Configure custom sounds via `sounds.json`
- →Implement custom fonts and MCMETA animations
How it works
This skill guides the creation and editing of Minecraft resource packs by defining custom models, textures, sounds, and other assets according to Minecraft's format requirements.
Inputs & outputs
When to use minecraft-resource-pack
- →Creating custom block models
- →Designing GUI textures
- →Editing sound files
- →Adding custom fonts
About this skill
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, fonts, and shaders. No Java
or mod loader required. Works on vanilla clients and servers.
Routing Boundaries
Use when: the deliverable is visual/audio assets (textures, models, sounds, fonts, shaders) 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 (1.21.x)
| 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] |
Use pack_format through 1.21.8. Starting in 1.21.9, pack.mcmeta switches to
min_format / max_format instead of the older single-number field.
For exact patch targeting, use [major, minor] arrays for both min_format and
max_format, including .0 versions such as [75, 0]. A single integer is
equivalent to [major, 0] for min_format, while a single integer in
max_format allows any minor version on that major line. Do not write decimal
JSON numbers.
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
├── shaders/ ← core shader overrides (advanced)
└── optifine/ ← OptiFine CIT / CTM (OptiFine only)
└── cit/
└── my_item.properties
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"
}
}
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
Simple flat item
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "mypack:item/my_item"
}
}
Held item (in-hand model)
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "mypack:item/my_sword"
}
}
Two-layer item (colored like leather armor)
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "minecraft:item/leather_helmet",
"layer1": "minecraft:item/leather_helmet_overlay"
}
}
Custom model data overrides (1.21.4 and prior)
Each predicate entry routes to a different model based on custom_model_data:
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "minecraft:item/stick"
},
"overrides": [
{ "predicate": { "custom_model_data": 1001 }, "model": "mypack:item/magic_wand" },
{ "predicate": { "custom_model_data": 1002 }, "model": "mypack:item/fire_staff" }
]
}
1.21.4+ Item Model (new format)
In 1.21.4, Mojang introduced a new item model system. Place model definitions at
assets/<namespace>/items/<item_name>.json:
{
"model": {
"type": "minecraft:select",
"property": "minecraft:custom_model_data",
"fallback": {
"type": "minecraft:model",
"model": "minecraft:item/stick"
},
"cases": [
{
"when": 1001,
"model": { "type": "minecraft:model", "model": "mypack:item/magic_wand" }
}
]
}
}
Blockstate Definitions
Simple block (no variants)
{
"variants": {
"": { "model": "mypack:block/my_block" }
}
}
Facing block (4 rotations)
{
"variants": {
"facing=north": { "model": "mypack:block/my_block" },
"facing=south": { "model": "mypack:block/my_block", "y": 180 },
"facing=east": { "model": "mypack:block/my_block", "y": 90 },
"facing=west": { "model": "mypack:block/my_block", "y": 270 }
}
}
Random texture (multipart)
{
"variants": {
"": [
{ "model": "minecraft:block/grass_block", "weight": 3 },
{ "model": "minecraft:block/grass_block_2" }
]
}
}
Multipart (slabs, fences, walls)
{
"multipart": [
{ "apply": { "model": "mypack:block/my_slab_bottom" }, "when": { "type": "bottom" } },
{ "apply": { "model": "mypack:block/my_slab_top" }, "when": { "type": "top" } },
{ "apply": { "model": "mypack:block/my_block" }, "when": { "type": "double" } }
]
}
Textures
- Format: PNG, RGBA (32-bit)
- Standard block/item size: 16×16 px
- Textures can be larger (32×32, 64×64) — Minecraft scales them, but stick to powers of 2
- Animation requires height = N × width (e.g., 16×64 for 4 frames)
- Place block textures in
assets/<namespace>/textures/block/ - Place item textures in
assets/<namespace>/textures/item/ - All textures are referenced without the
.pngextension in JSON
Animated texture MCMETA
assets/minecraft/textures/block/fire_0.png.mcmeta:
{
"animation": {
"frametime": 2,
"frames": [0, 1, 2, 3, 4, 5, 6, 7]
}
}
If frames is omitted, all frames play sequentially. frametime is in game ticks (default 1).
GUI sprites (1.20.2+)
Place sprites at assets/minecraft/textures/gui/sprites/<category>/<name>.png.
Reference them with <category>/<name> in code/JSON.
Sounds
assets/minecraft/sounds.json
{
"my_sound.play": {
"sounds": [
{ "name": "mypack:custom/my_sound", "volume": 1.0, "pitch": 1.0, "weight": 1 },
{ "name": "mypack:custom/my_sound_alt", "weight": 2 }
],
"category": "players"
},
"entity.player.levelup": {
"replace": true,
"sounds": [
{ "name": "mypack:custom/levelup_replaced", "volume": 0.75, "pitch": 1.0 }
]
}
}
- Sound files go in
assets/<namespace>/sounds/as.oggfiles (Vorbis encoded) - Use
"replace": trueto replace vanilla sounds instead of adding to them - Categories:
master,music,record,weather,block,hostile,neutral,player,ambient,voice
Language Files
assets/minecraft/lang/en_us.json:
{
"block.mypack.my_block": "My Custom Block",
"item.mypack.my_item": "Magic Wand",
"entity.mypack.my_mob": "Forest Guardian",
"death.attack.mypack.laser": "%1$s was zapped by %2$s"
}
- Use the exact translation key format for your mod/datapack namespace
- File name is the locale code (e.g.,
fr_fr.json,de_de.json) - Always provide
en_us.jsonas the primary fallback
Fonts
assets/minecraft/font/default.json — add glyph
{
"providers": [
{
"type": "bitmap",
"file": "mypack:font/icons.png",
"ascent": 8,
"height": 9,
"chars": ["\uE000", "\uE001", "\uE002"]
}
]
}
Custom icons via private use area (U+E000–U+F8FF). Reference in text with \uE000.
The icons.png must have each character cell height pixels tall.
OptiFine CIT (Custom Item Textures)
Content truncated.
When not to use it
- →When the task requires gameplay logic or runtime behavior changes
- →When the task is server infrastructure/runtime administration
Limitations
- →Does not support gameplay logic changes
- →Does not support runtime behavior changes
- →Does not support server infrastructure administration
How it compares
This workflow provides structured guidance for creating resource packs without requiring mods, unlike modifying gameplay logic or server settings.
Compared to similar skills
minecraft-resource-pack side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| minecraft-resource-pack (this skill) | 0 | 2mo | Review | Intermediate |
| theme-factory | 61 | 3mo | No flags | Beginner |
| brand-guidelines | 9 | 3mo | No flags | Beginner |
| canvas-design | 26 | 3mo | No flags | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by Jahrome907
View all by Jahrome907 →You might also like
theme-factory
anthropics
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
brand-guidelines
anthropics
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
canvas-design
anthropics
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.
game-art
davila7
Game art principles. Visual style selection, asset pipeline, animation workflow.
interactive-portfolio
davila7
Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios, and portfolios that convert visitors into opportunities. Use when: portfolio, personal website, showcase work, developer portfolio, designer portfolio.
windows-3-1-web-designer
erichowens
Expert in authentic Windows 3.1 aesthetic for modern web applications. Creates pixel-perfect retro UI with beveled borders, system gray palettes, and program manager styling. Use for retro-themed web apps, 90s desktop aesthetics, nostalgic landing pages, pixel-art adjacent experiences. Activate on "windows 3.1", "retro ui", "beveled borders", "win31", "program manager", "90s aesthetic", "pixel art", "hotdog stand". NOT for vaporwave aesthetics (neon gradients, glowing text), glassmorphism, macOS/iOS styling, flat design, material design.