Skip to content

Instantly share code, notes, and snippets.

@boq
Created October 25, 2018 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boq/db76a69442413ce46bc19d7ac45d8334 to your computer and use it in GitHub Desktop.
Save boq/db76a69442413ce46bc19d7ac45d8334 to your computer and use it in GitHub Desktop.
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:alternatives",
"children": [
{
"type": "minecraft:alternatives",
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"item": "minecraft:wooden_shovel"
}
}
],
"children": [
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
],
"name": "minecraft:egg"
},
{
"type": "minecraft:item",
"name": "minecraft:chicken"
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:diamond"
}
]
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment