public interface ImmutableSleepingData extends ImmutableDataManipulator<ImmutableSleepingData,SleepingData>
ImmutableDataManipulator
for the "sleeping" state of a
Player
. Also applicable to Bat
s where they can be
shown as "sleeping".Modifier and Type | Method and Description |
---|---|
ImmutableValue<Boolean> |
ignoreSleeping()
Gets the
ImmutableValue for whether the owning Player 's
"sleeping" state is ignored when vanilla mechanics dictate that all
Player s must be sleeping to advance through the night. |
ImmutableValue<Boolean> |
sleeping()
Gets the
ImmutableValue for the "sleeping" state. |
asMutable, copy, with, with
getContentVersion, toContainer
ImmutableValue<Boolean> sleeping()
ImmutableValue
for the "sleeping" state.ImmutableValue<Boolean> ignoreSleeping()
ImmutableValue
for whether the owning Player
's
"sleeping" state is ignored when vanilla mechanics dictate that all
Player
s must be sleeping to advance through the night.