Package net.minecraft.server.players
Class SleepStatus
java.lang.Object
net.minecraft.server.players.SleepStatus
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
areEnoughDeepSleeping
(int p_144005_, List<ServerPlayer> p_144006_) boolean
areEnoughSleeping
(int p_144003_) void
int
sleepersNeeded
(int p_144011_) boolean
update
(List<ServerPlayer> p_144008_)
-
Field Details
-
activePlayers
private int activePlayers -
sleepingPlayers
private int sleepingPlayers
-
-
Constructor Details
-
SleepStatus
public SleepStatus()
-
-
Method Details
-
areEnoughSleeping
public boolean areEnoughSleeping(int p_144003_) -
areEnoughDeepSleeping
-
sleepersNeeded
public int sleepersNeeded(int p_144011_) -
removeAllSleepers
public void removeAllSleepers() -
amountSleeping
public int amountSleeping() -
update
-