Download CTM Vintage — Minecraft Mods — MetaMods

CTM Vintage

Active

Downloads

0

Last update

4 weeks ago
Client
Decor
Libraries

CTM Vintage

CTM Vintage is an enhanced fork of the classic ConnectedTexturesMod by the Chisel team, which restores features from modern Minecraft versions for version 1.12.2. Players can now enjoy new texture connection types like horizontal patterns ctm_horizontal, opening up more possibilities for creating seamless texture solutions.

What's new in this version

The most important innovation is the implementation of a JSON file loading system. Functionality requires creating a ctm.json file in the mod's root, which serves as an index for connecting texture logics. The format is compatible with modern Minecraft versions, making it easier for developers to transition between versions.

For developers

This version requires updating Java code since part of the logic has been moved to the ConnectionCheck component. The IFacade interface now supports custom block states for connection customization—utilize this option when you need to extend functionality.

Important note: The current version is incompatible with the original Chisel mod. Development of a separate solution to fix this is planned for the future.

JSON logic system

To load custom CTM logics, create a "ctm.json" file in the mod's domain folder: "assets/modid/ctm.json". The system works similarly to sound files—resource packs can include their own types without duplicating elements from the original.

Example file from CTM Vintage itself:

{ "logics": [ "ctm", "optifine_full" ] }

The mod automatically scans elements in the "assets/modid/ctm_logic" folder based on parameters specified in ctm.json and registers them as CTM types with identifiers like "modid:item".

Subfolder structure is supported—for example, you can place a logic file at "assets/modid/ctm_logic/mylogic/ctm.json", creating type "modid:mylogic/ctm".

In the demo example, the mod will find files "assets/ctm/ctm_logic/ctm.json" and "assets/ctm/ctm_logic/optifine_full.json", registering types "ctm:ctm" and "ctm:optifine_full".

Technical features

The optifine_full.json file has grid dimensions changed to 12x12 pixels (corresponding to 192x192 pixels or multiples). This prevents the Forge engine from incorrectly identifying textures as animated.

Texture proxy system

The updated proxy texture loading logic works as follows using the example of Mekanism:

• Main file: assets/mekanism/textures/block/thermal_evaporation_block_1.png (16x16)

• Metadata file thermal_evaporation_block_1.png.mcmeta with configuration:

{ "ctm": { "ctm_version": 1, "proxy": "mekanism:ctm/thermal_evaporation_block_1_full", "type": "CTM", "layer": "SOLID", "textures": [ "mekanism:ctm/thermal_evaporation_block_1" ] } }

• Intermediate file: assets/mekanism/textures/ctm/thermal_evaporation_block_1.png (16x16)

• Final CTM file: assets/mekanism/textures/ctm/thermal_evaporation_block_1_full.png (192x192)

The final mcmeta file indicates using logic ctm:optifine_full.

Project members
RuiXuqi

RuiXuqi

Created: 20 Sep 2025

ID: 270044