tex4port
Skill by 0FL01
tex4port converts a Thaumcraft 4 ModelRenderer cuboid or inventory renderer into a Forge 1.12.2 baked item shell. It also helps diagnose atlas UVs and display transforms for modders porting TC4 models.
Install tex4port
Built from the published package, never by AI.
git clone --depth 1 https://github.com/0FL01/Thaumcraft-4.2-FOREVA /tmp/Thaumcraft-4.2-FOREVA && mkdir -p ~/.claude/skills && cp -r /tmp/Thaumcraft-4.2-FOREVA/.opencode/skills/tex4port ~/.claude/skills/tex4portRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/0FL01/Thaumcraft-4.2-FOREVA /tmp/Thaumcraft-4.2-FOREVA && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Thaumcraft-4.2-FOREVA/.opencode/skills/tex4port ~/.gemini/antigravity-cli/skills/tex4portAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
tex4port is an agent skill for converting a Thaumcraft 4 ModelRenderer cuboid or inventory renderer into a Forge 1.12.2 baked item model. It also covers diagnosing atlas UVs and display transforms. It starts from original TC4 geometry evidence and treats TC6 only as secondary evidence for a proven 1.12 API adaptation.
The skill explains how to map cuboids and UVs, create a square derivative of a non-square static texture, and choose between baked item rendering and TEISR routing. It also lists the display contexts to check and recommends focused tests plus visual verification. It is aimed at developers porting TC4 models to Forge 1.12.2.
Written from the project's SKILL.md and checked against it.
What it can do
- TC4-first geometry mappingGuides conversion of ModelRenderer cuboids, using the renderer anchor and transform chain.
- UV conversionMaps original TC4 pixel coordinates to atlas UV values using the source dimensions.
- Non-square texture derivativeDescribes a nearest-neighbour square copy of a static texture, with a Pillow script example.
- Baked versus TEISR routingExplains when to use a baked item shell and when to assign a TEISR to an Item.
- Display transform reviewChecks GUI, ground, frame, first-person and third-person contexts separately.
- Active route tracingTraces the current ClientProxy route and TEISR assignment for each affected metadata.
- Verification guidanceRecommends parsed JSON and image assertions, focused Gradle tests and the dev.sh build.
What you need
- A Forge 1.12.2 project
- Gradle, run through ./scripts/dev.sh
- Python with Pillow, if using the square texture derivative script
Try asking
- Convert this TC4 ModelRenderer cuboid into a Forge 1.12.2 baked item model.
- Fix the atlas UVs for my non-square 128x64 TC4 inventory texture.
- Decide whether this Thaumcraft item should use a baked shell or a TEISR.
Good to know
- The source gives no universal ModelRenderer to JSON formula; the mapping depends on the renderer anchor and axis transforms.
- Forge's static atlas path rejects non-square textures unless they have valid animation metadata.
- Build and server smoke checks do not prove visual parity; the source says to inspect all seven item contexts.
- Simple flat sprites, OBJ group defects and screenshot-only checks are handed off to other skills.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .opencode/skills/tex4port/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to tex4port
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
tex4port: common questions
Does tex4port handle non-square textures?
Yes. It covers non-square static textures and describes a nearest-neighbour square derivative. The source notes that Forge rejects non-square static atlas textures without valid animation metadata.
Should I use TC6 geometry for the conversion?
No. The source says TC4 is the first geometry source and TC6 is secondary evidence only for a proven 1.12 API adaptation.
What is the difference between a baked shell and a TEISR?
A baked shell uses an item JSON with elements or a verified parent. A TEISR uses builtin/entity and is assigned per Item, while model routing is per metadata.
How do I install tex4port?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is tex4port free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is tex4port safe to use?
It scores 64 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to tex4port?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
