#Detect Rewarded Vault in Enchantment

1 messages · Page 1 of 1 (latest)

small swift
#

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": ""
}
}
}
}
}
]
}
}

gritty frigateBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 If nobody has answered you by <t:1722180711:t>, feel free to use the Summon Helpers button to ping our helper team.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

nimble shard
#
Minecraft Wiki

A vault is a block found in trial chambers. It dispenses loot when unlocked using a trial key. Each vault can be looted by an unlimited number of players, but each player can unlock a specific vault only once.

#

This information is not 100% correct though

#

you can go to a trial spawner in a trial chamber and look at it with the debug screen open. This will show you the current blockstate