Skip to content

Instantly share code, notes, and snippets.

@boq
Created September 18, 2019 12:51
Show Gist options
  • Save boq/df7d3d3fa8b45148b8101814b937612f to your computer and use it in GitHub Desktop.
Save boq/df7d3d3fa8b45148b8101814b937612f to your computer and use it in GitHub Desktop.
{
"condition": "minecraft:alternative",
"terms": [
{
"condition": "minecraft:match_tool",
"predicate": {
"item": "minecraft:shears"
}
},
{
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
]
}
{
"condition": "minecraft:entity_properties",
"predicate": {
"equipment": {
"mainhand": {
"item": "minecraft:diamond_shovel"
}
}
},
"entity": "this"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment