Skip to content

An unofficial Fabric port of the original ConnectedTexturesMod. Adds extensions to the vanilla model and texture system to allow resource packs to create complex models.

License

Notifications You must be signed in to change notification settings

gregolegomonkey/ConnectedTexturesMod-Fabric

 
 

Repository files navigation

ConnectedTexturesMod for Fabric

ConnectedTexturesMod for Fabric tries to maintain feature parity with the original ConnectedTexturesMod so that CTM/Chisel format resource packs can work on both platforms without any changes. CTMF also adds some new features and fixes some bugs from the original. It is a client-side only mod that requires the Fabric API and utilizes the Fabric Rendering API for efficiency and compatibility.

CTM/CTMF allows resource packs to create dynamic models by adding custom JSON to model or texture metadata files. CTM/CTMF by itself does not add connected textures. A separate resource pack is needed. CTM/CTMF also has a public facing API that allows other mods to add their own texture types, which can then be used through texture metadata.

All important information regarding this port can be found here. For information on everything else, visit the original's wiki here.

Compiling from Source and Project Setup

CTMF's setup is quite basic and therefore does not need any special procedure to compile the code. Just run ./gradlew build (Linux) or gradlew build (Windows) in the project's directory. If Gradle is installed globally, use gradle instead of gradlew. If the project is imported into an IDE, running the build Gradle task from there works too.

Loom adds the runClient Gradle task, which runs the mod on the client side, but since CTMF itself doesn't add any resources, this task is not very useful. A test mod has been added to this project to test some of the mod's functionality. It can be run using the runTestmodClient Gradle task. Alternatively, debugging using Loom in an IDE allows the testmod to launch as well.

A checkstyle has been added to make sure the code style is consistent. It is based on the checkstyle from Fabric API. To validate the code's style, run the check Gradle task.

Links

CTMF Wiki

CTMF CurseForge

CTM Wiki

CTM Github

CTM CurseForge

Fabric API Github

Fabric API CurseForge

About

An unofficial Fabric port of the original ConnectedTexturesMod. Adds extensions to the vanilla model and texture system to allow resource packs to create complex models.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%