Skip to content
Skills Library
Design & UX · Conversion & formats

minecraft-texture

/minecraft-texture

Generate Minecraft item/block textures (16x16 / 32x32 PNG) from AI-generated art. Use when the user asks to create, convert, or post-process Minecraft textures — e.g. "生成一个原味鸡的 MC 材质" or "把这张图做成 16x16 的 Minecraft 材质" — including white-background removal and per-block color sampling. Pairs with the `imagegen` skill for generation and the `minecraft-modding` skill for using textures in mods.

Repository
skills ↗
Licence
MIT
Last repository change
14.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
5
Scripts
1
HTML comments
0
URLs in SKILL.md
2
Deprecation

No signals detected. Repository changed on 14.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/mc_texture.py

What it does and when to use it

Generate Minecraft item/block textures (16x16 / 32x32 PNG) from AI-generated art. Use when the user asks to create, convert, or post-process Minecraft textures — e.g. "生成一个原味鸡的 MC 材质" or "把这张图做成 16x16 的 Minecraft 材质" — including white-background removal and per-block color sampling. Pairs with the `imagegen` skill for generation and the `minecraft-modding` skill for using textures in mods.

Triggers from the description

生成一个原味鸡的 MC 材质把这张图做成 16x16 的 Minecraft 材质
Original author description

Generate Minecraft item/block textures (16x16 / 32x32 PNG) from AI-generated art. Use when the user asks to create, convert, or post-process Minecraft textures — e.g. "生成一个原味鸡的 MC 材质" or "把这张图做成 16x16 的 Minecraft 材质" — including white-background removal and per-block color sampling. Pairs with the `imagegen` skill for generation and the `minecraft-modding` skill for using textures in mods.

How it works

  1. Workflow
  2. References
Original SKILL.md headings · 25 lines, 232 words
SKILL.md preview
---
name: minecraft-texture
description: Generate Minecraft item/block textures (16x16 / 32x32 PNG) from AI-generated art. Use when the user asks to create, convert, or post-process Minecraft textures — e.g. "生成一个原味鸡的 MC 材质" or "把这张图做成 16x16 的 Minecraft 材质" — including white-background removal and per-block color sampling. Pairs with the `imagegen` skill for generation and the `minecraft-modding` skill for using textures in mods.
metadata:
  author: Hairy
  version: "2026.8.10"
  source: Workflow modeled on https://ai-kit.xingduansuzhao.com/texture; post-processing implemented locally
---

# Minecraft Texture

> Workflow modeled on the ai-kit texture tool (https://ai-kit.xingduansuzhao.com/texture): generate the texture with an image model, then post-process it into usable 16x16 / 32x32 pixel textures. The post-processing (white-background removal + color-block sampling) is implemented in `scripts/mc_texture.py` — no login or external service required.

## Workflow

1. **Generate** — use an image model (e.g. the `imagegen` skill) with a prompt that produces a flat front view of the item/block that fills the whole frame on a plain white background. Do NOT ask for grid lines — the pipeline converts white to transparency and samples color blocks directly. See [best-practices-prompts](references/best-practices-prompts.md).
2. **Post-process** — run the pipeline script:

```bash
python scripts/mc_texture.py pipeline texture.png -o out/ --sizes 16,32
```

This replaces the white background with transparency, samples the dominant color of every block, and writes `out/texture-16x16.png` and `out/texture-32x32.png`.
3. **Verify** — run `python scripts/mc_texture.py check out/texture-32x32.png` for a programmatic check (near-white dots, transparency ratio; no vision model needed). Rerun with a tuned `--tolerance` / `--white-cutoff` if background edges bleed or thin details disappear.

## References

| Topic | Description | Reference |
|-------|-------------|-----------|
| Workflow | Full generate → post-process → verify flow and placing textures into a mod/resource pack | [core-workflow](references/core-workflow.md) |
| Script reference | Commands, options, tuning, troubleshooting | [core-script](references/core-script.md) |
| Prompt recipes | Prompts for generating item/block textures that fill the frame on white | [best-practices-prompts](references/best-practices-prompts.md) |
Files in this package (5)
  • SKILL.md 2 KB
  • references/best-practices-prompts.md 2 KB
  • references/core-script.md 3 KB
  • references/core-workflow.md 3 KB
  • scripts/mc_texture.py 12 KB

Versions

The database has no other skills named minecraft-texture.

Database snapshot: 13.11.2026 · package version 3281cc72c5e4 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100minecraft-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.
  • 90minecraft-imagegen
    Generate or edit Minecraft raster assets such as pack icons, promo art, concept textures, thumbnails, banners, and UI mockups. Use when the deliverable is a bitmap image rather than JSON, SVG, or code-native assets.
  • 95minecraft-agent-skins
    Create, refine, validate, and install recognizable Minecraft agent skins from portraits or existing textures. Use for Minecraft player skin artwork and texture mapping, not general portraits or game behavior.
  • 100blockbench-flipbook-textures
    Create 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…
  • 100blockreel-textures
    Design a coherent set of Minecraft block/item textures (16x, 32x or 64x) with web research, one palette plan for the whole set, code-generated or hand-painted tiles, a tiling/seam and palette checker, an in-scene preview rendered by the engine, and a resource-pack zip built with…
  • 100blockbench-vanilla-textures
    Pull original ("vanilla") Minecraft textures from Mojang's bedrock-samples repository through the jsDelivr CDN and apply them to Blockbench models, resolving block IDs to per-face files, tinting grayscale grass/leaves/water, tiling large faces, handling flipbooks, and importing…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.