Skip to content

Instantly share code, notes, and snippets.

@rockenroll4life
Created October 27, 2018 18:43
Show Gist options
  • Save rockenroll4life/ec7faf81eac1baba46053341a229a583 to your computer and use it in GitHub Desktop.
Save rockenroll4life/ec7faf81eac1baba46053341a229a583 to your computer and use it in GitHub Desktop.
Custom Enchantment - Smelter
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:alternatives",
"children": [
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"nbt": "{display:{Lore:[\"{\\\"text\\\":\\\"Smelter 1\\\"}\"]}}"
}
}
],
"name": "minecraft:iron_ingot"
},
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"name": "minecraft:iron_ore"
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment