Skip to content

Instantly share code, notes, and snippets.

@rockenroll4life
Created October 29, 2018 22:21
Show Gist options
  • Select an option

  • Save rockenroll4life/2ac423faaafee1c282c0cb5c5dc145ac to your computer and use it in GitHub Desktop.

Select an option

Save rockenroll4life/2ac423faaafee1c282c0cb5c5dc145ac to your computer and use it in GitHub Desktop.

Revisions

  1. rockenroll4life created this gist Oct 29, 2018.
    63 changes: 63 additions & 0 deletions iron_ore.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,63 @@
    {
    "type": "minecraft:block",
    "pools": [
    {
    "rolls": 1,
    "entries": [
    {
    "type": "minecraft:alternatives",
    "children": [
    {
    "type": "minecraft:item",
    "conditions": [
    {
    "condition": "minecraft:entity_scores",
    "scores": {
    "miner": 3.0
    },
    "entity": "this"
    }
    ],
    "name": "minecraft:iron_block"
    },
    {
    "type": "minecraft:item",
    "conditions": [
    {
    "condition": "minecraft:entity_scores",
    "scores": {
    "miner": 2.0
    },
    "entity": "this"
    }
    ],
    "name": "minecraft:iron_ingot"
    },
    {
    "type": "minecraft:item",
    "conditions": [
    {
    "condition": "minecraft:entity_scores",
    "scores": {
    "miner": 1.0
    },
    "entity": "this"
    }
    ],
    "name": "minecraft:iron_nugget"
    },
    {
    "type": "minecraft:item",
    "name": "minecraft:cobblestone"
    }
    ]
    }
    ],
    "conditions": [
    {
    "condition": "minecraft:survives_explosion"
    }
    ]
    }
    ]
    }