Class SleepStatus

java.lang.Object
net.minecraft.server.players.SleepStatus

public class SleepStatus extends Object
  • 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

      public boolean areEnoughDeepSleeping(int p_144005_, List<ServerPlayer> p_144006_)
    • sleepersNeeded

      public int sleepersNeeded(int p_144011_)
    • removeAllSleepers

      public void removeAllSleepers()
    • amountSleeping

      public int amountSleeping()
    • update

      public boolean update(List<ServerPlayer> p_144008_)