This is my first mod. It adds a block that when punched sets a new spawn point for the player. Then when the player dies instead of moving to the default spawn point, they move to the point that they punched the spawn point block. If they have not set a spawn point using a spawn block the default spawn behavior is used.
Spawn block crafting recipe:
stone, stone, stone
stone, steel ingot, stone
stone, stone, stone
Known issues:
Block is not diggable
Future:
Add a command to set custom spawn points for players w/o using the block
Different block texture
Code: LGPL
Textures: WTFPL
Mod dependencies: default
Download: http://ubuntuone.com/3zlKmd9bAtVK5MbJgRBubM