13
0
geforkt von Mirrors/Paper

add isDeeplySleeping to HumanEntity

Dieser Commit ist enthalten in:
Jake Potrebic 2021-04-08 17:36:15 -07:00
Ursprung f4eab2ee51
Commit c0e2f67d7c

Datei anzeigen

@ -366,6 +366,15 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, InventoryHolder
void setHurtDirection(float hurtDirection);
// Paper end
// Paper start
/**
* If the player has slept enough to count towards passing the night.
*
* @return true if the player has slept enough
*/
public boolean isDeeplySleeping();
// Paper end
/**
* Check whether a cooldown is active on the specified item.
*