terrarium-earth / Athena

An crossplatform custom baked model mod
MIT License
7 stars 3 forks source link

[Bug]: Texture connections of type Mural are not arranged correctly #10

Open Ironnoob73 opened 11 months ago

Ironnoob73 commented 11 months ago

Bug Description

When the length is not equal to the width, the Mural is not arranged correctly. image image

How to Reproduce?

  1. Create a mural-type texture connection with unequal length and width. For example:

    {
    "variants": {
        "": {
            "model": "yuushya:block/terracotta_cobblestone"
        }
    },
    
    "athena:loader": "athena:giant",
    "ctm_textures": {
      "1": "yuushya:block_/stone/terracotta_cobblestone_1",
      "2": "yuushya:block_/stone/terracotta_cobblestone_2",
      "3": "yuushya:block_/stone/terracotta_cobblestone_3",
      "4": "yuushya:block_/stone/terracotta_cobblestone_4",
      "5": "yuushya:block_/stone/terracotta_cobblestone_5",
      "6": "yuushya:block_/stone/terracotta_cobblestone_6",
      "particle": "yuushya:block_/stone/terracotta_cobblestone"
    },
    "height": 2,
    "width": 3
    }

    image

  2. The third texture appears on the next line. The sixth texture does not appear.

Expected Behavior

No response

Version

3.1.1

Mod Loader Version

1.20.1 - 47.2.6

Mod Loader

Forge

Logs or additional context

Just in case, this is a manifestation without rendering-related mods such as Oculus installed, and the problem still exists. image

Code of Conduct