I want the block to be created at the coordinates where the players died

Started by North4146 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I want the block to be created at the coordinates where the players died

Hi. I want the block to be created at the coordinates where the players died. How can I do that? (a tombstone will be created) and I want him to write an inscription on that tombstone (minecraft death message)

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For making it say the way…
Sat, 01/29/2022 - 21:27

For making it say the way the player died, you would probably need custom coding, but for making it place the block do https://imgur.com/a/UZdEtAt

I chose it to place stone as a example but you can change it with your custom block.

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've managed to create an…
Sun, 01/30/2022 - 10:17

I've managed to create an example for possibly what you're looking for, @North4146.
Since I'm unsure as to where to put the example on here, I decided to upload it to my host.
You can download and import it to your MCreator software as an example project for reference.

I used stone as well for the example. However, it also adds the XYZ coordinates of the block placed and adds it to chat so you know exactly where you died at.

[ View Website]

[ Virus Total Report ]

File > Import workspace from shareable zip...
Find "Block_Place_On_Death.zip" in your downloads or where you saved it.
and you should be able to run it directly to make sure it still is working, and copy code as needed,
or If you need more help, consider checking out my profile to email me.
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@GregoryAM very thanks
Sun, 01/30/2022 - 19:35

@GregoryAM very thanks

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I also did it that way, but…
Thu, 04/13/2023 - 16:51

I also did it that way, but I created a GUI in the block and I wanted to know how do I make all inventory items be taken to this GUI within the block that will be created at that point after death