SuperMartijn642 / Fusion

20 stars 3 forks source link

[1.20.1] Connected Glass Textures Not Working #55

Closed Flexico closed 3 months ago

Flexico commented 3 months ago

Question ... I'm converting my CTM for glass blocks to the Fusion format, but every glass block shows the upper-left option no matter what. What am I doing wrong? CTM Fusion Glass.zip

SuperMartijn642 commented 3 months ago

Connecting textures need to be used in conjunction with the connecting model type https://github.com/SuperMartijn642/Fusion/wiki/Default-Model-Types#connecting-models

Flexico commented 3 months ago

Ah, I see! Ok, I have the following at /models/block/glass.json:

{
    "loader": "fusion:model",
    "type": "connecting",
    "connections": [
        { "type": "is_same_block" }
    ],
    "parent": "block/cube_all",
    "textures": { "all": "block/glass" }
}

2024-03-21_02 40 34 2024-03-21_02 41 09

It does affect which textures show on the blocks, but they are mostly the wrong ones!

Naixatloz commented 3 months ago

It doesn't look like they're placed correctly on the template. This is what mine is laid out like, for reference, and everything looks correct. glass

Flexico commented 3 months ago

Ah -- your setup looks different from the one I followed. I'll have to re-order them.

Flexico commented 3 months ago

It wooorrrks! Thanks for the help~