How Vaults and Trial Spawners Work
Both the Vault and the Trial Spawner operate as state-driven blocks found within Trial Chambers. A Vault remains dormant until a player who has not yet unlocked it approaches its detection radius. Once detected, its eyes brighten, its mouth opens, and potential loot items cycle visually inside the cage. Interacting with the Vault while holding a Trial Key consumes the key, closes the mouth, and pops randomized loot items out through the top hole. The Vault records the player's unique identifier (UID), ensuring each player can only open a specific Vault once.
Technically, both blocks transition through specific block states during operation:
- Vault states (
vault_state):inactive,active,unlocking, andejecting. It also tracks direction viafacing(north, south, east, west) and anominousboolean (trueorfalse). - Trial Spawner states (
trial_spawner_state):inactive,waiting_for_players,active,waiting_for_reward_ejection,ejecting_reward, andcooldown, alongside anominousboolean (trueorfalse).
Obtaining and Placement Constraints
In Survival mode, Vaults cannot be collected or relocated. Breaking a Vault takes a very long time—taking the exact same duration regardless of the tool used—and yields no drop even if mined with a Silk Touch tool. Because they cannot be obtained as items in Survival without glitches, any Survival redstone contraption must be built directly around their natural generation points inside Trial Chambers.
In Creative mode or custom maps, builders can place Vaults facing any cardinal direction and customize their loot tables, making them effective single-use per-player dispensers for multiplayer adventures.
Redstone Integration & Automation
While neither block is a traditional redstone power component, their state transitions and item ejection mechanics interact naturally with several redstone components:
- State Change Detection: Every transition in
vault_stateortrial_spawner_statechanges the block's data. Placing an Observer against a Vault or Trial Spawner emits a redstone pulse whenever the block wakes up (inactivetoactive), begins unlocking, ejects loot, or enters cooldown. - Player Proximity Sensor: Because an
inactiveVault shifts toactiveas soon as an eligible player enters its radius (and reverts when they leave), an Observer watching a Vault acts as a proximity detector for players who have not yet looted that Vault. - Automated Loot Collection: Both blocks eject their rewards upward from the top center of the block. Positioning Hoppers or a Hopper Minecart collection system around the landing zone allows automatic sorting or gathering of dropped items like Wind Charges, Iron Ingots, Honey Bottles, Arrows of Poison, and Diamonds.
Tips & Common Mistakes
- Do not mine Vaults to move them: Attempting to harvest a Vault in Survival wastes time and permanently destroys the block without dropping it.
- Account for multiple observer pulses: A single Vault opening cycles through multiple states (
active→unlocking→ejecting→inactiveoractive). If you attach a circuit to an Observer, account for multiple pulses firing during a single looting cycle. - Keep the top clear: Since loot pops out of the top hole, placing solid blocks directly above a Vault can obstruct the items from popping up normally.
- Multiplayer proximity reliability: Remember that a player who has already opened a specific Vault is registered by UID and will no longer trigger that Vault's active state, meaning it will stop detecting that specific player.
