Tutorials/Automatic respawn anchor recharger

In Java Edition 20w12a, the Respawn Anchor was added to the game. Back then it could only be loaded or charged by hand. However, thanks to changes in 20w13a it can now be loaded using a dispenser, therefore automating the process. With the help of observers, you can easily make a automatic anchor recharger.

Materials

 * 3 pieces of redstone dust
 * An observer
 * A dispenser
 * 2–3 stacks of glowstone
 * A respawn anchor
 * A dirt block for scaffolding