Minecraft Data Packs / Game Mechanic

Dimension Respawn (Incl. Beds in the Nether or End!)

  • check_circle Functions
  • 24,275 views, 3 today
  • 1,330 downloads, 0 today
  • 32
  • 15
  • 23
Bertiecrafter's Avatar Bertiecrafter
Retired Moderator
Level 70 : Legendary Engineer
781

This datapack enables spawn points in any dimension!



DO set a spawnpoint like this
  • Sleep in a bed in the overworld.
  • Stand on top of a bed in any dimension.
  • Use /spawnpoint in any dimension.
  • Use /function bertiecrafter:dim_spwn/admin/set_worldspawn to set the worldspawn in any dimension.
DON'T set a spawnpoint like this
  • Sleep in a bed in any other dimension. (IT EXPLODES)
  • Use /setworldspawn. (Will always result in an overworld spawn and will be ignored after the first time the function above is executed.)
Admin commands starting with /function bertiecrafter:dim_spwn/admin/:
  • set_worldspawn: Set the world spawn in any dimension.
  • unset_worldspawn: Unset the world spawn in any dimension.
  • get_spawnpoint: Print your spawnpoint coordinates in chat. Prefix with /execute as <player> run function (...) to get the spawnpoint of a different player.
  • get_worldspawn: Print the world spawn coordinates in chat.
  • goto_spawnpoint: Teleport to your spawnpoint.
  • goto_worldspawn: Teleport to worldspawn set by set_worldspawn.
While the datapack is active, all spawnpoints are exact. This means that the following behaviours will be disabled:
  • Random spread around world spawn for survival players.
  • Always top-most block world spawn for survival players.
  • Spawning on a suitable spot next to your bed instead of on top.
If the datapack is uninstalled
  • The world spawn will revert to the last location set by /setworldspawn or the defaults (x: 0, z: 0).
  • All player spawn points set by standing on top of a bed will revert to the world spawn described above.


Enjoy =)

Are you struggling to remember all your coordinates? Check out Coords Master.
Also check out this mini-game I made: Flight of the Bumblebee


Install Instructions
This is a datapack, it can easily be used in any world or server without any difficulties.
Simply drop the downloaded zip file in the "datapacks" folder of your world save (<world>/datapacks).
Then open your world and do
/reload

In case the datapack doesn't automatically get enabled, run:
/datapack enable "file/[​datapack folder name].zip"

I encountered a bug! What do I do now?

I test all my creations, but bugs happen no matter how long you test something. Whenever someone experiences a bug, I do my best to fix the issue. You can help me by providing any useful information. You can never give me enough information, but please send it in a DM instead of placing it in the comments. You can still place a one-liner in the comments stating the issue to make the community aware, but that alone isn't enough to help me fix the issue.
  • Checklist: Are you using the right version? Did you do /reload after dropping the datapack in? After /reload, does the datapack show up green in /datapack list?
  • What is the issue? Does the datapack not seem to be working at all or is there a specific feature you are having issues with?
  • What happened? Please give me all the steps needed to reproduce the issue. The faster I can experience it, the faster I can solve it.
  • What did you expect to happen instead? This helps me understand your point of view and determine if the issue described is actually the issue I need to fix. The bug you are experiencing could just be a side effect of something else that doesn't behave as expected.

Dimension Respawn (Incl. Beds in the Nether or End!) Minecraft Data Pack
CompatibilityMinecraft 1.15
Tags

Create an account or sign in to comment.

SantoTheSirAlot
05/28/2021 11:53 am
Level 1 : New Miner
SantoTheSirAlot's Avatar
it does not work i set my spawn in the nether but it always spwan me in the overworld. and it changes my spwan
1
Bertiecrafter
05/29/2021 3:07 pm
Level 70 : Legendary Engineer
Bertiecrafter's Avatar
This is an older data pack only compatible with Minecraft 1.15. I assume it's not working because you tried it on a later version. Since 1.16 you now have vanilla Respawn Anchors to respawn in other dimensions.
1
pulse155
02/23/2021 10:21 am
Level 1 : New Miner
pulse155's Avatar
I've been looking for something like this for a while, and I am very glad to see what you have done. To your knowledge, does it work in 1.16? If you don't know, I will gladly test it out for you.
1
Bertiecrafter
02/23/2021 11:37 am
Level 70 : Legendary Engineer
Bertiecrafter's Avatar
I don't know. Feel free to test, but know that this functionality is provided by respawn anchors in 1.16, making this data pack pretty much obsolete.
1
pulse155
07/01/2021 7:18 pm
Level 1 : New Miner
history
pulse155's Avatar
Sorry I never got back to you. I ran a test on the nether respawning, and it didn't work in 1.16.5. I have not tested the end, but I will. By the way, your data pack is far from obsolete because there are no mods or datapacks anywhere that I can find that allow you to respawn in the End, which is far more interesting to me than spawning in the Nether. (Respawn anchors blow up in the End.) I'd do it myself, but I don't understand datapacks or mods well enough to make them yet. So, please do patch.
2
Bertiecrafter
07/02/2021 2:51 pm
Level 70 : Legendary Engineer
Bertiecrafter's Avatar
Hey! My latest data pack: Infinite Respawn Anchors does enable respawn anchors in the end!
1
User3023219G
04/28/2020 12:54 am
Level 1 : New Miner
User3023219G's Avatar
How do I activated
1
Bertiecrafter
04/28/2020 10:57 am
Level 70 : Legendary Engineer
Bertiecrafter's Avatar
A simple /reload once the datapack is installed should output a message to chat. (Make sure you're in 1.15). Once you see the message, have a look at the first part of the description that tells you how to set your spawn.
1
WiredVic
04/13/2020 6:47 am
Level 1 : New Miner
WiredVic's Avatar
Hey Bertie, so this is what happened to me, I downloaded it and put it in my datapacks. I started a new world in minecraft and then jumped into it, i set the time to night and slept in a bed in the overworld. I then entered the nether, and put down a bed, and stood on top of it. nothing happened. So then while on the bed i did /spawnpoint and it said spawnpoint set for @a, then i killed myself but i respawned in the overworld. I then did /function bertiecrafter:dim_spwn/admin/set_worldspawn on top of the nether bed, but the command wouldn't work. What did i do wrong?
1
Bertiecrafter
04/13/2020 7:44 am
Level 70 : Legendary Engineer
history
Bertiecrafter's Avatar
Well for some reason the spawnpoint didn't set when you stood on the bed.
Then you did /spawnpoint, which always sets an overworld spawnpoint by default. Normally it should be detected and tracked by the datapack so it can move you to the correct dimension, another sign of the datapack not running at all.

Did you try running /reload after you installed the datapack?
Does a message appear in chat saying it's installed?
Are you running MC 1.15?
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome