Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PlayerSleep.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class EntityContext;
8// clang-format on
9
10namespace PlayerSleep {
11// functions
12// NOLINTBEGIN
13MCNAPI short getSleepCounter(::EntityContext const& provider);
14
15MCNAPI bool isSleepingLongEnough(::EntityContext const& provider);
16
17MCNAPI void resetSleepCounter(::EntityContext& provider);
18
19MCNAPI void setSleepCounter(::EntityContext& provider, short value);
20
21MCNAPI void setSleepCounterToMax(::EntityContext& provider);
22// NOLINTEND
23
24} // namespace PlayerSleep
Definition EntityContext.h:15