You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (loc != null && loc.getWorld() == respawnWorld) {
I would think that the default would be that if you die in a world without a respawn point in that world, you go back to the spawn point for that world.
The text was updated successfully, but these errors were encountered:
Part of the confusion comes from a problem I just found. World configuration has a 'bedRespawn' option, and a 'forcedRespawn' option, which both appear to do the same (but inverse) thing. If you don't want players to respawn at their bed, then disabling bed respawns should fix that.
Actually, when you die in the nether and have a bed in the overworld, you respawn at your bed in the overworld. Minecraft maintains a single global bed respawn point. World anchors are the exact same thing, basically just beds in the nether with a use limit.
With world inventory rules you can specify what worlds share what bed information, so that sleeping in a world doesn't make it use that bed when in another world.
Commands:
/world forcedrespawn [true/false] - Should enable/disable respawning at a bed when dying in a given world
/world bedrespawn [true/false] - Should enable/disable beds on a given world
I'd like for players to spawn at their spawn point, if set.
I'd expect a_nehter / a_the_end would respawn to a, if there is not another ancho in that world.
If there is no anchor in a and a player dies they should go to spawn point for that world, not the bed of another world.
In the above situation I outlined, it becomes impossible for a player to rejoin world b, even though they are in world a.
Steps to recreate:
/world create a
/world create b
/world rejoin a
create/set a bed as a spawn point
/world rejoin b
/kill @s
Now the game thinks that you are in world b, even though you respawned in world a's bed.
I think that this line could be updated to be:
if (loc != null && loc.getWorld() == respawnWorld) {
I would think that the default would be that if you die in a world without a respawn point in that world, you go back to the spawn point for that world.
The text was updated successfully, but these errors were encountered: