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. This means it can now be automated. Because observers detect the block update of a respawn anchor, it is actually quite simple. All that is needed is to add a observer facing into the respawn anchor, then lead redstone dust from the back of the observer into the dispenser with glowstone inside.

Materials

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