Empty Container Alarm

An empty container alarm alerts you with a light or sound the moment a chest, dispenser, or hopper runs out of items. It is the ideal safeguard for wool farms running out of shears, honey farms running out of bottles, furnace fuel chests, or multiplayer shops that need restocking. This guide covers four survival-friendly variations ranging from a silent, server-friendly indicator lamp to a compact audio-visual alarm.

Locks & SecurityBeginnerJava Edition
Empty Container Alarm video tutorial

Video: Empty Container Alarm | Easy Redstone Tutorial by Todd13 Plays

How to build it

  1. Place the Container and Comparator

    Place your chest, dispenser, or other container on the ground. Behind it, place a Redstone Comparator facing away from the container so it reads the inventory contents.

  2. Invert the Signal (Visual-Only Design)

    For the silent, server-friendly design, run the comparator output into a solid block and attach a Redstone Torch to the block to invert the signal.

  3. Connect the Indicator Lamp

    Route redstone dust from the inverted torch signal into a solid block, then use a Redstone Repeater pushing into a Redstone Lamp. When the container empties, the lamp turns on.

  4. Set Up the Piston (Audio Alarm Design)

    To build the audio version instead, have the comparator behind your container power a Sticky Piston so that the piston stays extended as long as items are inside.

  5. Install the Observer Clock and Note Block

    Place one Observer on the sticky piston and a second stationary Observer backed up against a Note Block. Arrange them so that when the piston retracts (container empty), the two observers face each other to form a fast clock that repeatedly triggers the Note Block.

  6. Combine Audio and Visual (Design 3)

    To add a light to the audio alarm, widen the build by one block out the back. Place two pieces of Redstone Dust leading from the inverted trigger into a Redstone Repeater and a Redstone Lamp alongside the observer clock.

  7. Build the 3-Long Compact Variant (Design 4)

    For the shortest audio-visual footprint (3 blocks long), run the comparator into a solid block that powers the sticky piston. Position the two observers so that when retracted, they face each other and directly power both the Redstone Lamp and the Note Block positioned above the redstone.

How it works

All four designs rely on basic comparator logic and signal inversion:

  • Inventory Reading: A Redstone Comparator placed against a container emits a signal strength of at least 1 as long as at least one item is inside.
  • Signal Inversion (NOR Gate): In the visual design, that signal powers a block with a Redstone Torch, keeping the torch turned off. When the last item is removed, the comparator turns off, the torch turns on, and the repeater lights the Redstone Lamp.
  • Observer Clock: In the audio designs, the comparator keeps a Sticky Piston extended while items are present, holding a movable Observer out of alignment. When the container empties, the piston retracts and aligns two observers face-to-face. This creates a rapid observer clock that pulses the adjacent Note Block (and lamp) continuously until items are replenished.

Tips & variations

  • Server Etiquette: Use the first (visual-only) design on multiplayer servers. An unattended observer clock firing a note block while you are offline will annoy nearby players and generate unnecessary block updates.
  • Custom Alarm Sounds: In the standard audio designs (Designs 2 and 3), the space underneath the Note Block is free. Place different blocks (such as an Emerald Block for a bit sound, Gold Block for a bell, or Wool for a guitar) under the Note Block to customize the alarm tone. Note that the 3-block-long compact design places the Note Block above redstone, so you cannot change its instrument block.
  • Multi-Container Farm Alarm: If you have a large bee or wool farm with many dispensers, place a comparator behind every container and wire all of their outputs into the same single redstone torch block to create a master alarm.

Frequently asked questions

Which containers work with this empty alarm?
Any container that can be read by a redstone comparator works, including chests, barrels, hoppers, dispensers, droppers, furnaces, and shulker boxes.
How do I change the sound of the alarm?
In the second and third designs, place a specific block directly underneath the Note Block (such as an Emerald Block or Gold Block) to change the instrument sound. Leave an air block above the Note Block so it can play.
Which design is best for multiplayer SMP servers?
The first design (visual lamp only) is best for servers because it is completely silent and uses no observer clocks, preventing noise complaints and lag when you are offline.

Components used

More alarm / intruder detector