Jump to content

[1.16.5] Block Loot Tables


Willzigos

Recommended Posts

{
  "type": "minecraft:block",
  "pools": [
    {
      "rolls": 1,
      "bonus_rolls": 0,
      "entries": [
        {
          "type": "minecraft:alternatives",
          "children": [
            {
              "type": "minecraft:item",
              "name": "mmm:sandy_driftwood",
              "conditions": [
                {
                  "condition": "minecraft:match_tool",
                  "predicate": {
                    "enchantments": [
                      {
                        "enchantment": "minecraft:silk_touch",
                        "levels": {
                          "min": 1
                        }
                      }
                    ]
                  }
                }
              ]
            },
            {
              "type": "minecraft:item",
              "weight": 4,
              "name": "minecraft:sand",
              "conditions": [
                {
                  "condition": "minecraft:survives_explosion"
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:stick",
          "conditions": [
            {
              "condition": "minecraft:survives_explosion"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 2,
          "name": "mmm:broken_stick",
          "conditions": [
            {
              "condition": "minecraft:survives_explosion"
            }
          ]
        }
      ]
    }
  ]
}

I'm trying to make it so that "sandy_driftwood" always drops with silk touch and the block drops one of the other 3 items when mined without silk touch but it is currently dropping the other items as well as the "sandy_driftwood" when I use silk touch.

Edited by Willzigos
Link to comment
Share on other sites

  • Willzigos changed the title to [1.16.5] Block Loot Tables

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.