Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-124417

Can't set leaves blockstates

    XMLWordPrintable

    Details

    • Confirmation Status:
      Unconfirmed

      Description

      So leaves (e. g. minecraft:spruce_leaves) have two properties: decayable and check_decay.

      So I tried to have a different model for decayable=false,check_decay=false:

      
      {
          "variants": {
              "decayable=true,check_decay=false": { "model": "bookshelf" },
              "decayable=true,check_decay=true": { "model": "bookshelf" },
              "decayable=false,check_decay=true": { "model": "bookshelf" },
              "check_decay=false,decayable=false": { "model": "granite" }
          }
      }
      
      

      The resource pack is loading fine but no matter what block state I set with setblock, the model used is always the standard model.

      By adding "normal": { "model": "andesite" } I figured out that Minecraft is only using the normal block model. That's very inconsistent as you can set custom blockstate models for all other blocks.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Siphalor Johannes Freitag
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: