setBedSpawnLocation

public abstract void setBedSpawnLocation(Location location)

Sets the Location where the player will spawn at their bed.

Parameters

location

where to set the respawn location


public abstract void setBedSpawnLocation(Location location, boolean force)

Sets the Location where the player will spawn at their bed.

Parameters

location

where to set the respawn location

force

whether to forcefully set the respawn location even if getClassById valid bed is not present