mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 13:24:17 -07:00
Added getBedSpawnLocation to Player. Thanks fernferret!
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
@@ -383,4 +383,11 @@ public interface Player extends HumanEntity, CommandSender, OfflinePlayer {
|
||||
* @param value New food level
|
||||
*/
|
||||
public void setFoodLevel(int value);
|
||||
|
||||
/**
|
||||
* Gets the Location where the player will spawn at their bed, null if they have not slept in one or their current bed spawn is invalid.
|
||||
*
|
||||
* @return Bed Spawn Location if bed exists, otherwise null.
|
||||
*/
|
||||
public Location getBedSpawnLocation();
|
||||
}
|
||||
|
Reference in New Issue
Block a user