1

Ladder not showing variations

Jazumes 5/24/20 8:18 pm
135
I'm trying to give the ladder block a variation to it but I can't seem to be able to actually get two different ladder textures working. This is what I have for the blockstate file.
{
  "variants": {
    "normal": [
      { "model": "block/ladder_0", "weight": 10 },
      { "model": "block/ladder_0", "y": 90, "weight": 10 },
      { "model": "block/ladder_0", "y": 180, "weight": 10 },
      { "model": "block/ladder_0", "y": 270, "weight": 10 },
      { "model": "block/ladder_1", "weight": 90 },
      { "model": "block/ladder_1", "y": 90, "weight": 90 },
      { "model": "block/ladder_1", "y": 180, "weight": 90 },
      { "model": "block/ladder_1", "y": 270, "weight": 90 }
    ]
  }
}
Both of the models look like this except the texture name is different.
{
  "ambientocclusion": false,
  "textures": {
    "particle": "block/ladder",
    "texture": "block/ladder"
  },
  "elements": [
    {   "from": [ 0, 0, 15.2 ],
      "to": [ 16, 16, 15.2 ],
      "shade": false,
      "faces": {
        "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" },
        "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" }
       }
     }
  ]
}
Only ladder_0 appears in the game and doesn't give me a missing texture, If someone could help me that would be great!
Posted by
Jazumes
Level 17 : Journeyman Miner
4

  Have something to say?

JoinSign in

Welcome