I found the
RespawnLocationData in Javadoc,but I can’t get an instance of this type.
I placed a bed in the main world. The player is respawned nearby the bed.But
player.get(RespawnLocationData.class) still return
So how do I get the location of the bed set by the player?