Topic category: Help with Minecraft modding (Java Edition)
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.
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.