How can I make a respawn block similar to a bed

Started by SLMx on

Topic category: Help with modding (Java Edition)

Last seen on 20:04, 2. Apr 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make a respawn block similar to a bed
Sat, 03/30/2024 - 00:53 (edited)

I am trying to make a mod for me and my friend's server that adds a block that when you right click it, it sets your spawn point to that block, but if someone destroys it, the person who set that as their respawn point gets put in hardcore mode.

As of now I made the block but I don't know how to make it into a respawn block

Edited by SLMx on Sat, 03/30/2024 - 00:53