Started by
Dracomata
on
Topic category: Help with Minecraft 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).
If the event is in the procedure than we will called ”DEATHEvent” have the event "When player die", select it in the trigger event (The first event) and continue the procedure.
If this is false, i can’t make for you, sorry.
There is no trigger "Player Death" but you can use "Entity Death" and check if it's player type