Data Packs Game Mechanic

Dynamic Respawn

  • 7.4k views 5 today
  • save_alt 307 downloads
Compatibility
Minecraft 1.14
Changes include
  • Functions
  • 13
  • 15
  • 1
LeonNikolai
Lvl 68High Grandmaster Procrastinator Programmer
58

Random / Dynamic Respawn


This datapack makes it so you always respawn near your death location, beds still work like normal. So if you die at 10000 10000, you respawn around there, and if you die at 0 0 you spawn around there. If you have slept in a bed you will respawn by your bed, like normal.

Features:

  • respawn relative to where you die
  • respawn randomly in a radius of 500 blocks
  • beds still behave normaly
  • tells dead people their death cordinates.

More like this

  Have something to say?

stuperon
11/24/2020 11:14 pm
Level 1 : New Miner
haven't signed in here for an age but couldn't stay away bc i have to ask for this to be made 1.16.4 compatible if it already isn't and if it is let me know that... i tried to edit it myself, well i looked at the functions and didn't understand them well enough to shoehorn it myself. thinking this would work well with a random spawn (per player worldspawn) with adjustable range.
i'd like to have a player spawn at a random pos when first logging on a server and have that set so they spawn around there again on death (unless slept in bed).. atm i'm looking at adding 2 datapacks to handle this.. if you suddenly fancy having a pop at doing this may i suggest also having the nether pos linked in the similar way for nether starts and deaths :P
1

Welcome