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 used to set the player's respawn location.

Charging
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.

Respawning (continued)
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.)

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.
 * Despite using crying obsidian in its crafting recipe, it is not indestructable.
 * Its surface is a reuse of the nether portal texture when charged.