Respawn Anchor

The respawn anchor is a block that allows players to set their spawn point in The Nether.

Breaking
Respawn anchors can be harvested with any pickaxe at or above diamond tier. $$, Silk Touch enchant can work on a Respawn Anchor, and it keeps its current charges.

Respawning
The Respawn Anchor is used to respawn in the Nether, even if the player leaves the Nether. Once the block is charged, it can be to set the player's respawn location.

When crafted, a Respawn Anchor has no (zero) charge and can't yet be used until charged. When a glowstone block is  with it, a charge is added, the texture of the block changes, and it starts emitting a light level of 3. Up to four glowstone blocks can be used to charge the anchor. The charge is indicated by a dial on the side of the block. Each additional piece of glowstone after the first increases the light level by four, up to a maximum of 15.
 * Charging

Each time the player dies, they respawn next to the anchor, and its charge decreases by 1. If a player's Respawn Anchor is destroyed, or its charges have been exhausted, or if the area around it is made unsuitable for respawning, a message is displayed saying "You have no home bed or charged Respawn Anchor, or it was obstructed”, and the player respawns at the world spawn point. (NOTE: Returning through an end portal is not counted as a respawn and thus does not deplete any charges.)
 * Respawn upon player death

A Respawn Anchor can be shared among several players. When shared, remaining charges are shared as well.

Exploding
If the player attempts to set their spawn at a charged respawn anchor in the Overworld, the End, or customized dimensions in which they are disabled, the block explodes (and is destroyed) similarly to when a bed is used in the Nether or the End. The explosion has a power of 5, and sets fire to surrounding blocks.

Redstone component
When charged, a redstone comparator gives a signal depending on the number of charges: 3 for one charge, 7 for two charges, 11 for three charges, 15 for four charges. An empty anchor gives a signal of 0.

The respawn anchor can also be charged with a dispenser.

Mobs
Hoglins run away from respawn anchors.

ID




Trivia

 * The light level emitted by the respawn anchor is congruent with the redstone signal strength given by a comparator.
 * Its surface is a reuse of the nether portal texture when charged.
 * The explosion produced by one respawn anchor cannot destroy other nearby respawn anchors due to their high blast resistance.