End Portal Recipe (Fabric)

End Portal Recipe (Fabric)

35.8k Downloads

Restore original respawn point config option. Distance config option.

Darkona opened this issue ยท 0 comments

commented

When extinguishing the campfire or removing it, restore the spawn point to the previous one, or to the player's bed.

This could be configurable:

  • With setting previous respawn point, you can place a campfire, then another one in another place, then remove the second one and your spawn pont reverts to the previous one. To avoid storing an absurd amount of previous spawn points, this could be configurable to a maximun of perhaps 5 or 10 spawn points.
  • With setting previous respawn to bed, every new campfire makes itself your spawn point, but if it is removed or extinguished, your previous spawn point is your bed.
  • Combination of the two? up to 5 or 10 spawn points on top of your bed, as a list, and whenever one of the campfires or bed is removed, that spawn point is removed from the list.

Should not work across dimensions.

Distance config option: The campfire will work as your respawn point as long as you die within a configurable radius. Might add a chat alert to tell the player they are outside of the latest campfire radius. Revert to standard spawn point if death occurs outside the radius.