Detect Rewarded Vault in Enchantment
I want to know how Can i detect the empty/opened vault state in enchantment
{
"description": "a",
"supported_items": "#minecraft:pickaxes",
"weight": 1,
"max_level": 1,
"min_cost": {
"base": 0,
"per_level_above_first": 0
},
"max_cost": {
"base": 0,
"per_level_above_first": 0
},
"anvil_cost": 0,
"slots": [],
"effects": {
"minecraft:hit_block": [
{
"effect": {
"type": "minecraft:replace_block",
"block_state": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "minecraft:air"
}
}
},
"requirements": {
"condition": "minecraft:location_check",
"predicate": {
"block": {
"blocks": "minecraft:vault",
"state": {
"vault_state": ""
}
}
}
}
}
]
}
}
Continue to help post