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

all item components from the loot table are removed if max_stack_size is used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.20.5 Release Candidate 2
    • None
    • Unconfirmed
    • (Unassigned)

      all item components from the loot table are removed if max_stack_size is used.

      {
        "pools": [
          {
            "rolls": 1,
            "entries": [
              {
                "type": "minecraft:item",
                "name": "minecraft:stone",
                "functions": [
                  {
                    "function": "minecraft:set_components",
                    "components": {
                      "minecraft:custom_model_data": 1,
                      "minecraft:max_stack_size": 1
                    }
                  }
                ]
              }
            ]
          }
        ]
      }

      If you remove max_stack_size then in my case custom_model_data and other components will be applied

            Unassigned Unassigned
            banjo43 mixquartz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: