Is Sleeping (Condition) — Skript
Addon: Skript · Category: Condition · Since: 1.4.4, 2.11 (living entities)
Syntax
%livingentities% (is|are) sleepingDescription
Checks whether an entity is sleeping.
Examples
if player is sleeping:
make player wake up without spawn location update
if last spawned fox is sleeping:
make last spawned fox stop sleeping