texture-creation
Guide for creating mod textures using vanilla texture reuse and color transformation
When & Why to Use This Skill
This Claude skill streamlines the creation of game mod textures by leveraging vanilla asset reuse and advanced color transformation techniques. It provides a structured workflow using ImageMagick to ensure visual consistency and rapid iteration for custom blocks and items, specifically optimized for Minecraft modding environments.
Use Cases
- Generating custom wood variants (doors, trapdoors, etc.) by transforming existing vanilla Minecraft textures to maintain a native art style.
- Automating batch texture processing using ImageMagick RGB channel multipliers for precise and consistent color shifts across multiple assets.
- Extracting and repurposing base game assets from JAR files to accelerate the development of decorative block sets in game mods.
- Analyzing color distributions using histogram data to calculate exact transformation parameters for new material themes.
| name | texture-creation |
|---|---|
| description | Guide for creating mod textures using vanilla texture reuse and color transformation |
Texture Creation Guide
Purpose: Guide for creating mod textures using vanilla texture reuse and color transformation.
How it works: This skill is automatically activated when you mention tasks related to:
- Creating textures for custom blocks or items
- Reusing vanilla textures with color modifications
- Using ImageMagick for texture processing
- Creating wood variant textures (doors, trapdoors, etc.)
Simply describe what you want to do, and Claude will reference the appropriate guidance from this skill.
Reusing Vanilla Textures with Color Transformation (2025-11-15)
Approach: For custom wood variants, extract vanilla textures and apply color transformation to maintain visual consistency while ensuring rapid texture creation.
Workflow:
1. Extract Vanilla Textures
- Locate Minecraft client JAR:
~/.gradle/caches/fabric-loom/minecraftMaven/net/minecraft/minecraft/1.21.1/minecraft-1.21.1.jar - Extract textures using
unzip:unzip -j minecraft-1.21.1.jar \ "assets/minecraft/textures/block/jungle_door_top.png" \ "assets/minecraft/textures/block/jungle_door_bottom.png" \ "assets/minecraft/textures/block/jungle_trapdoor.png" \ "assets/minecraft/textures/item/jungle_door.png" - Use similar wood type as base (e.g., Jungle for yellowish woods, Oak for brown woods)
2. Determine Color Transformation Parameters
- Compare reference planks (e.g., Time Wood Planks vs Jungle Planks)
- Use ImageMagick histogram to analyze color distributions:
magick time_wood_planks.png -format %c histogram:info:- magick jungle_planks.png -format %c histogram:info:- - Calculate RGB channel multipliers by comparing dominant colors
- Example for Time Wood (yellowish-olive from brown):
- Red: 0.95× (slight reduction)
- Green: 1.17× (significant increase for yellow tone)
- Blue: 0.85× (reduction for warmth)
3. Apply Color Transformation with ImageMagick
magick input.png \
-channel R -evaluate multiply 0.95 +channel \
-channel G -evaluate multiply 1.17 +channel \
-channel B -evaluate multiply 0.85 +channel \
output.png
4. Iterate Based on Visual Feedback
- Test textures in-game
- Adjust RGB multipliers if colors don't match:
- Too green → reduce G multiplier, increase R/B
- Too yellow → reduce G multiplier
- Too dark/bright → adjust all channels proportionally
Known Color Transformations
Time Wood (from Jungle): R×0.95, G×1.17, B×0.85 - produces yellowish-olive tone
- Applied to: Door, Trapdoor textures (T080v-T080aa)
Benefits
- Rapid texture creation (batch processing with ImageMagick)
- Visual consistency across all variants
- Easy iteration and adjustment
- Reusable approach for future wood types
Notes
- HSV color space transformations may not work well for fundamental color shifts (e.g., brown → yellow-green)
- RGB channel multiplication provides more control for cross-color transformations
- Always verify textures in-game before finalizing
Last Updated: 2025-12-08 Maintained by: Chrono Dawn Development Team