Coder Social home page Coder Social logo

codexadrian / connectedtexturesmod-fabric Goto Github PK

View Code? Open in Web Editor NEW

This project forked from peppercode1/connectedtexturesmod-fabric

3.0 0.0 2.0 359 KB

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: GNU General Public License v2.0

Java 100.00%

connectedtexturesmod-fabric's Introduction

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

connectedtexturesmod-fabric's People

Contributors

codexadrian avatar mrjoshuat avatar peppercode1 avatar thatgravyboat avatar titaniumtown avatar

Stargazers

 avatar  avatar

connectedtexturesmod-fabric's Issues

Missing Texture Glitch/Bug with Chipped and Supplementaries

2023-03-02_16 39 12

i already was on the discord from supplementaries and they found out its a issue with ctm..sadly

The Admin/Dev from there said this at last: ctm isnt loading up the parents of those models. i can only see that far
[16:30]
should i mark the mods as incompatible?
[16:35]
https://github.com/CodexAdrian/ConnectedTexturesMod-Fabric/blob/1.19/src/main/java/team/chisel/ctm/client/handler/ModelsAddedCallbackHandler.java#L41 this is whats failing. idk much about ctm inner working to say more. Its giving that method instead of ModelBakery::getModel to the getMaterials method resulting in it getting a missing model as parent

and said i should ask here whats wrong and if u can fix it

Connected textures are invisible through Nether portals and flowing water

Modlist:

ctm-fabric-1.0.0+1.18.jar
fabric-api-0.59.1+1.18.2.jar
indium-1.0.7+mc1.18.2.jar
sodium-fabric-mc1.18.2-0.4.1+build.15.jar

Place blocks that make use of the Connected Textures mod (e.g Polished Calcite)

View the block through a Nether Portal or through the top portion of flowing water. It will appear invisible and x-ray through the ground.

2022-10-20_21 20 06
2022-10-20_21 20 27

Breaks Twilight Forest's Models

Twilight Forest supports CTM on forge but when I tested this on fabric it breaks are models
image
Not sure whats up here but I'm just going to report it their is nothing suspicious in logs no model errors. I don't have any performance mods this is only in the twilight forest dev environment.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.