Untitled

mail@pastecode.io avatar
unknown
json
a year ago
1.7 kB
2
Indexable
Never
{
  "type": "minecraft:block",
  "pools": [
    {
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:alternatives",
          "children": [
            {
              "type": "minecraft:item",
              "functions": [
                {
                  "function": "minecraft:set_count",
                  "count": {
                    "min": 2,
                    "max": 6
                  }
                }
              ],
              "conditions": [
                {
                  "condition": "minecraft:damage_source_properties",
                  "predicate": {
                    "tags": [
                      {
                        "id": "is_explosion",
                        "expected": false
                      }
                    ]
                  }
                }
              ],
              "name": "plushables:basket_block"
            },
            {
              "type": "minecraft:item",
              "functions": [
                {
                  "function": "minecraft:set_count",
                  "count": {
                    "min": 2,
                    "max": 6
                  }
                }
              ],
              "condition": "minecraft:damage_source_properties",
              "predicate": {
                "tags": [
                  {
                    "id": "is_explosion",
                    "expected": true
                  }
                ]
              },
              "name": "minecraft:stick"
            }
          ]
        }
      ],
      "rolls": 1.0
    }
  ],
  "random_sequence": "minecraft:blocks/basket_block"
}