isBedSpawn

public boolean isBedSpawn()

Gets whether the respawn location is the player's bed.

Return

true if the respawn location is the player's bed.