Hello! What is responsible for player respawn and bed's spawn point. I want to create a mod where you can create multiple respawn points on different beds, so that when you destroy a bed, you respawn on another one. I am new to forge and would like to read the detailed recommendations from you