public interface ImmutableSleepingData extends ImmutableDataManipulator<ImmutableSleepingData,SleepingData>
ImmutableDataManipulator for the "sleeping" state of a
Player. Also applicable to Bats 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
Players must be sleeping to advance through the night. |
ImmutableValue<Boolean> |
sleeping()
Gets the
ImmutableValue for the "sleeping" state. |
asMutable, copy, with, withgetContentVersion, toContainerImmutableValue<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
Players must be sleeping to advance through the night.