Topic category: Help with modding (Java Edition)
I am creating a World Ends With You mod and in this mod, I want the player to go to a different dimension upon their death, gain items and so on when they are killed. For example, a player is blown up by a creeper. They suddenly respawn in a different dimension and have new items that they have never seen before, etc. The problem is that I have no clue how to make an event occur when the player dies. Does anyone know how to make events for when a player dies? Also does anyone know how to make the player sleep without the use of a bed (I want to use that as well for the mod, not sure how I will do the missions but one step at a time).