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.

Usage
The respawn anchor is used to respawn in the Nether, even if the player leaves the Nether.

When with a glowstone block, 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 of which is indicated with 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.

When the block is charged, it can be to set the player's spawn. 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. Returning through an end portal counts as a respawn and thus depletes a charge.

If the player attempts to set their spawn at a charged respawn anchor in the Overworld, the End or customized dimensions, the block explodes 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.If you put in more glowstone than can be put in,it will also cause it to explode

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.

Hoglins run from respawn anchors.

ID




Trivia

 * The light level emitted by the respawn anchor is congruent with the redstone signal strength given by a comparator.