/blockbench-mcp:blockbench-vanilla-texturesfrom blockbench-mcp
Fetches original Minecraft textures from Mojang's bedrock-samples repo via jsDelivr CDN and applies them to Blockbench models. Handles block ID resolution, per-face textures, tinting, tiling, flipbooks, and PBR texture sets.
Ships in blockbench-mcp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use Mojang's own texture files instead of painting or generating an imitation. Source: Mojang/bedrock-samples (resource_pack/textures/...), served by jsDelivr:
https://cdn.jsdelivr.net/gh/Mojang/bedrock-samples@<ref>/resource_pack/textures/blocks/brick.png
<ref> is main or a release tag such as v1.26.50.4. Pin a tag when results must be reproducible. The names are Bedrock names, but the pixel art matches Java Edition for almost every block, so the files also work for Java and generic models after renaming where needed.
Load blockbench-use before changing the project, and blockbench-texturing for UV details.
License: the files are © Mojang AB and covered by the Minecraft EULA. They are fine for Minecraft content, add-ons, resource packs and personal work. If the user plans to sell the model outside Minecraft or bundle the textures into a non-Minecraft asset pack, say so once and let them decide. Do not strip the attribution the manifest records.
Translate the subject into block IDs: a brick wall becomes brick_block, a log cabin oak_log plus oak_planks, a castle stone_bricks plus cobblestone. Ask only when a name is genuinely ambiguous ("stone" or "wood") and the choice changes the look. Otherwise pick the obvious block and state it. Block IDs resolve per-face textures, including log tops, grass tops and crafting-table fronts. Java IDs mostly work; the exceptions (bricks → brick_block, grass_block → grass, …) are in names, tints and animation.
Run the bundled resolver (Node 18+ or Bun, no dependencies). Script paths are relative to this skill folder.
node scripts/vanilla_texture.mjs search brick # find IDs/keys
node scripts/vanilla_texture.mjs fetch brick_block oak_log grass --out <workspace>/textures/vanilla
node scripts/vanilla_texture.mjs fetch grass oak_leaves --carried --out <dir> # pre-tinted inventory art
node scripts/vanilla_texture.mjs fetch brick_block --pbr --out <dir> # + texture_set.json, MERS, normal
node scripts/vanilla_texture.mjs fetch entity/pig/pig --out <dir> # any path under textures/
node scripts/vanilla_texture.mjs search zombie --tree --out <dir> # entities/UI: one GitHub API call, cached
It prints and saves <out>/vanilla_manifest.json. Use these fields:
requests[].faces: Blockbench face → atlas key.requests[].atlas_keys[key].path: the file for each key.textures[]: the local file (absolute path), width/height, format (png or tga), frames, ticks_per_frame, tint, variants, and texture_set layers.Read the manifest instead of guessing file names.
A single known file needs no script:
curl -fsSLo brick.png https://cdn.jsdelivr.net/gh/Mojang/bedrock-samples@main/resource_pack/textures/blocks/brick.png
iwr https://cdn.jsdelivr.net/gh/Mojang/bedrock-samples@main/resource_pack/textures/blocks/brick.png -OutFile brick.png
Some colour textures exist only as .tga, including leaves, grass_side, cactus and ferns. A 404 on .png means you should try .tga, which the script does automatically. The jsDelivr package-listing API rejects this repository as too large, so discovery goes through blocks.json, terrain_texture.json, item_texture.json, or the GitHub tree (--tree).
Where to save: put files the model will keep in the user's asset workspace, for example textures/vanilla/, not in a temp folder. Blockbench remembers an imported file's path and can write the texture back to it when the project is saved. Never modify a downloaded file in place after importing it; write edits such as tints and tiles to new file names.
Check each manifest entry before importing:
tint is set: the art is grayscale and Minecraft colors it by biome (grass top, leaves, vines, water). Either fetch with --carried for pre-tinted versions, or run python scripts/tint_texture.py <in> <out> --color "#91BD59". Use --colormap <colormap/grass.png> --temperature T --downfall D to match a biome. Pillow is required.grass_side.tga's alpha is a tint mask, not transparency. Its dirt pixels have alpha 0. Import blocks/grass_side_carried instead, or run tint_texture.py ... --overlay.tint_texture.py brick.png brick_3x2.png --tile 3x2 gives 48×32 px for a 48×32-unit face. Pre-tiling suits generic, Bedrock entity and glTF targets. Java block and item models need square 16×16 textures (a taller image is treated as a flipbook), so use one element per block there and keep the original file.frames > 1 means a vertical flipbook, such as water, lava or sea lantern. Map UVs to one frame and follow flipbook textures for playback and export metadata.Tint colors, biome parameters and the full flipbook list are in names, tints and animation.
create_texture: name="brick", data="<absolute file path>". File paths require Blockbench desktop and load PNG and TGA. On Blockbench web, or when the file cannot be reached, pass a data:image/png;base64,... URL instead. Data URLs must be browser-decodable, so convert TGA to PNG first, for example with Pillow. Importing a path that is already loaded is refused; reuse that texture instead. For formats with per_texture_uv_size, pass uv_width/uv_height equal to the pixel size so UV coordinates are pixels.apply_texture: id=<element>, texture=<name>, applyTo="all".set_cube_uv with faces: { up: { uv: [0,0,16,16], texture: "log_oak_top" }, north: { …, texture: "log_oak" }, … }, following requests[].faces. Use set_mesh_uv for meshes. blocks.json names the south face as the front for furnaces, pumpkins and similar blocks; rotate the element or swap faces so the front faces the viewer.Fetching inside Blockbench. jsDelivr sends Access-Control-Allow-Origin: *, so Blockbench can download a PNG itself when the agent has no shell, or its shell cannot reach Blockbench's file system. risky_eval awaits an expression, so wrap the code in an async IIFE that returns a data URL, then pass that URL to create_texture. Follow the repository's authorization rules for risky_eval.
(async () => {
const response = await fetch("https://cdn.jsdelivr.net/gh/Mojang/bedrock-samples@main/resource_pack/textures/blocks/brick.png");
if (!response.ok) throw new Error(`HTTP ${response.status}`);
const blob = await response.blob();
return await new Promise(resolve => { const reader = new FileReader(); reader.onload = () => resolve(reader.result); reader.readAsDataURL(blob); });
})()
Vanilla block textures are a few hundred bytes, so the returned data URL is small. Prefer the file-path route for large entity sheets and for TGA files.
Every vanilla block ships <name>.texture_set.json with <name>_mers.tga (metalness, emissive, roughness, subsurface), and some also ship _normal.tga or _heightmap.tga. Fetch with --pbr, keep the files together in the same folder, then call import_texture_set: path="<out>/blocks/brick.texture_set.json" on desktop. Follow PBR materials for assignment and export. Tinted color maps still need tinting; tint the color file and repoint the material's color channel to it.
| Target | What to do |
|---|---|
| Bedrock | Keep Bedrock names and paths, for example textures/blocks/brick. For custom blocks, the vanilla texture can be referenced by its terrain key instead of shipping a copy; see material instances |
| Java | Rename to the Java file name (brick.png → bricks.png, planks_oak → oak_planks) under assets/minecraft/textures/block/, or reference minecraft:block/bricks in the model JSON so the game's own texture is used. Add .png.mcmeta for flipbooks |
| Generic / glTF | Keep the pixel size and use nearest-neighbour filtering. Bake tints and tiling into the image, because no runtime will apply them |
list_textures and confirm each texture's size and UV size.get_cube_uv or get_mesh_info and confirm every face shows texture_status: "resolved" with the intended texture."Model a brick wall" (Generic Model; a 3×2-block wall, 4 units thick):
node scripts/vanilla_texture.mjs fetch brick_block --out ./textures/vanilla. The manifest shows blocks/brick.png, 16×16, no tint.python scripts/tint_texture.py ./textures/vanilla/blocks/brick.png ./textures/vanilla/brick_wall_3x2.png --tile 3x2 to produce a 48×32 image.create_texture name="brick_wall_3x2" data="<abs>/textures/vanilla/brick_wall_3x2.png". Add uv_width=48, uv_height=32 when the format uses per-texture UV size.from [0,0,0], to [48,32,4].set_cube_uv, all using brick_wall_3x2:
north and south: [0,0,48,32].up and down: [0,0,48,4].east and west: [0,0,4,32].get_cube_uv and confirm every face resolves. Capture a screenshot and check that one brick course matches a vanilla 16-unit block.For a Java block model, build the same wall from six 16×16×4 elements. Map each one with the untouched brick texture: [0,0,16,16] on the large faces and [0,0,16,4] / [0,0,4,16] on the edges.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jasonjgardner/blockbench-mcp-project --plugin blockbench-mcp15 skills in this plugin
/blockbench-albedo-to-pbrDerive height, tangent-space normal and packed MER (metalness, emissive, roughness) maps from an albedo/base-color texture for Blockbench PBR materials, using PyPBR (Python) or vgpu + Dawn WebGPU (Node.js), with optional Depth Anything V2 height estimation and MER inferred from the albedo plus the normal's curvature. Use after a color texture exists (painted, imported, or generated with blockbench-gpt-image-textures) when a material needs normal, heightmap or MER channels, a Bedrock RTX texture_set, or when asked to make a normal map, bump map, height map, roughness, metalness or emissive map from a texture. Triggers on albedo to normal, normal map from texture, height map from albedo, MER map, roughness from texture, metalness map, emissive map, Depth Anything, PyPBR, vgpu, Sobel normal, DirectX vs OpenGL normal, texture_set normal, heightmap or metalness_emissive_roughness layer./blockbench-animationCreate and manage animations in Blockbench using MCP tools. Use when animating 3D models, creating keyframes, managing bone rigs, editing animation curves, or working with animation timelines. Covers walk cycles, idle animations, combat animations, and complex multi-bone animations./blockbench-pluginsBlockbench plugin/extension development for the 3D modeling tool. Use when creating, modifying, or debugging JavaScript plugins for Blockbench including actions, dialogs, panels, menus, toolbars, model manipulation, animation APIs, and custom formats/codecs. Triggers on Blockbench plugin, Blockbench extension, Blockbench API, BBPlugin, model editor plugin, or 3D modeling tool extension./blockbench-flipbook-texturesCreate animated flipbook textures for Blockbench and Minecraft using blockbench-gpt-image-textures and GPT Image 2.5. Plan frame dimensions and motion, generate a sprite sheet, repack grids or horizontal sheets into a vertical PNG, and configure animation playback and target metadata. Use for animated block textures, looping texture effects, or sprite-sheet-to-flipbook conversion./blockbench-gpt-image-texturesGenerate Blockbench texture atlases, skins and tiles with OpenAI GPT Image 2.5 (Flare or Sunburst) on fal.ai, writing the model's expected UV layout into the prompt so painted regions land on the right faces. Use when asked to AI-generate, concept, or repaint a texture for a Blockbench model, or to call openai/gpt-image-2.5/flare/text-to-image or openai/gpt-image-2.5/sunburst/text-to-image. Triggers on gpt image 2.5, gpt-image-2.5, flare, sunburst, fal.ai texture, generate texture with AI, UV-aware prompt, texture atlas prompt, AI skin, AI texture sheet./blockbench-hytaleCreate Hytale models and animations through Blockbench MCP. Use for character/attachment or prop formats, UV density, stretch, quads, shading, attachment pieces, and visibility keyframes. Requires the Hytale Models plugin.Other plugins' skills for the same job