
texture-creation
by ksoichiro
A dimension mod for Minecraft that adds Chrono Dawn, a time-themed world with custom portals, boss battles, and time-manipulating artifacts. Supports Fabric & NeoForge.
SKILL.md
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
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
1ヶ月以内に更新
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon
