Items that return to the place of death for use in multiplayer

Started by rabbits on

Topic category: Help with modding (Java Edition)

Last seen on 10:26, 26. Jun 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Items that return to the place of death for use in multiplayer

I am new to mcreator.
I would like to create the following item, but I can't get the procedure to work.
I want to use it in a multiplayer game.
Please help. I would like to incorporate the items in [ ] if possible.
・The item is used to teleport to the point of death after being consumed.
・The animation is like a bow that is pulled and used (there is a pause until it is used).
・[The animation of the item is a totem animation.]
・It can be used across dimensions.
・[If you are not on a block, teleport to the nearest block and the gap between two blocks (the size of the player).
・[After teleporting, grant regeneration ability 2 for 5 seconds].
・Do not go to the point of death of another player.


I think it probably records the dimension and position on death, but I'm not familiar with it and can't create it properly. Please help me.

 

 

I'm using DeepL translation, so sorry if my English is weird.

Last seen on 21:42, 27. Jun 2024
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm not fully sure on how to…
Thu, 06/27/2024 - 19:15

I'm not fully sure on how to make all of this, but for starters, you can set 3 player_persistent variables for their XYZ coordinates when they die, finding a nearby block and their dimension spawn is out of my abilities.