Back to list
ksoichiro

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.

0🍴 0📅 Jan 25, 2026

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

75/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon