/blockbench-mcp:blockbench-substancefrom blockbench-mcp
Integrates Blockbench with Adobe Substance 3D (Designer, Painter, Automation Toolkit) for procedural material rendering, SBS cooking, baking AO/curvature/normal/ID maps, and Painter remote scripting. Requires licensed Substance install.
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.
Optional and advanced. Most Blockbench work never needs this: paint with blockbench-texturing, generate with blockbench-gpt-image-textures, derive normal/MER with blockbench-albedo-to-pbr. Use this skill only when the user asks for Substance or already has .sbsar/.sbs/Painter assets. It needs a licensed Adobe Substance 3D install. Load blockbench-use first and blockbench-pbr-materials to assign results.
Substance produces image files. Blockbench stays the source of geometry and UVs. Every path ends with files imported through create_texture (data, pbr_channel) or import_texture_set.
python scripts/sat_locate.py
Designer bundles sbsrender, sbscooker, sbsupdater and substance3d_baker, off PATH, in C:\Program Files\Adobe\Adobe Substance 3D Designer\. sbsmutator and the pysbs Python API come only with the standalone Substance Automation Toolkit. Painter is a GUI app driven over HTTP. If nothing is found, stop and tell the user; do not install Adobe software.
| Goal | Tool | Reference |
|---|---|---|
| Procedural material (bricks, rust, leaves) as Blockbench textures | sat_render.py → sbsrender | sat-cli.md |
Have a .sbs graph, need an .sbsar | sbscooker (sbsupdater first if old) | sat-cli.md |
Edit/specialise a .sbs headlessly | sbsmutator (SAT only) | sat-cli.md |
| AO / curvature / ID / position masks from the model | substance3d_baker | baker.md |
| Hand-paint the model with smart materials | Painter + painter_remote.py | painter.md |
| Pack Bedrock MER, convert bit depth, flip normal green, shrink | prep_maps.py | below |
python scripts/sat_render.py material.sbsar --out out --size 16 --seed 7 \
--set Season=0.8 --normal-format directx
--size is pixels; the script converts to log2 $outputsize (raw sbsrender needs '$outputsize@4,4' for 16 px). It creates --out; raw sbsrender exits 47 if the folder is missing.inputs from the JSON report, then set parameters by identifier. Unknown identifiers come back as warnings, because sbsrender ignores them silently.usages: baseColor/diffuse → color; normal; height; metallic + roughness (or glossiness, inverted) + emissive → MER.export_model → codec_id: "gltf", options: {"encoding": "binary"}, path: <abs>.glb (or obj).substance3d_baker AmbientOcclusion.Raytraced model.glb --use_lowdef_as_highdef true --output_size 512,512 --output_path bake
python scripts/prep_maps.py convert bake/*.png --out bake/64 --size 64 (16-bit → 8-bit, box downsample).sbsrender --set-entry / Painter.export_model with codec_id: "obj". Painter cannot import glTF.--enable-remote-scripting (never --help: it opens the app), then:
python scripts/painter_remote.py --ping --wait 240
python scripts/painter_remote.py --python-file scripts/painter_new_project.py --result \
--set MESH=C:/work/model.obj --set NORMAL=DirectX --set RESOLUTION=1024 --set BAKE=1
python scripts/painter_remote.py --python-file scripts/painter_bedrock_export.py --result \
--set OUT=C:/work/painter_out --set NAME=model --set PRESET=bedrock --set SIZE_LOG2=9
python scripts/prep_maps.py convert C:/work/painter_out/model*.png --out final --size 64
bedrock gives NAME.png, NAME_mer.png, NAME_normal.png (DirectX). gltf gives ORM + OpenGL normal. Painter never exports below 128 px, and skips maps whose channel is absent. Trust the files list in the result.python scripts/prep_maps.py pack-mer --metallic out/m_metallic.png --emissive 0 --roughness out/m_roughness.png --out final/model_mer.png
python scripts/prep_maps.py texture-set --color model --mer model_mer --normal model_normal --out final/model.texture_set.json
Constants are 0–255; --glossiness replaces --roughness and is inverted. Then import_texture_set with the JSON path, or create_texture per file (pbr_channel: color/normal/height/mer) + create_pbr_material. Normal or height, never both.
directx. A graph's $normalformat is graph-defined (one tested graph flipped red, not green), so compare renders or use prep_maps.py convert --flip-green. After import, raised features must read as raised in the Blockbench preview.PIL.Image.convert("L") clips them to white. Use prep_maps.py convert or --output-bit-depth 8.C:/... paths to the executables; /c/... from Git Bash breaks --alias. Quote '$outputsize@...'.list_textures/get_texture and a capture_screenshot. A blank-white or uniformly gray map means the bit depth, UV overlap or parameter was wrong. It is not a stylistic result.references/baker.md (opens in a new tab)references/painter.md (opens in a new tab)references/sat-cli.md (opens in a new tab)scripts/painter_bedrock_export.py (opens in a new tab)scripts/painter_new_project.py (opens in a new tab)scripts/painter_remote.py (opens in a new tab)scripts/prep_maps.py (opens in a new tab)scripts/sat_locate.py (opens in a new tab)scripts/sat_render.py (opens in a new tab)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