From 989bc1ec2b8dc6ea856b183a895ee94f58042b21 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 27 Nov 2020 04:35:11 +0000 Subject: [PATCH] Merge docs for 'Merge branch 'master' of https://github.com/gnembon/fabric-carpet' --- docs/scarpet/Full.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/scarpet/Full.md b/docs/scarpet/Full.md index 3dd89bf4..fbea5ea9 100644 --- a/docs/scarpet/Full.md +++ b/docs/scarpet/Full.md @@ -3950,6 +3950,10 @@ Triggered when a server receives a request to deploy elytra, regardless if the f ### `__on_player_wakes_up(player)` Player wakes up from the bed mid sleep, but not when it is kicked out of bed because it finished sleeping. +### `__on_player_escapes_sleep(player)` +Same as `player_wakes_up` but only triggered when pressing the ESC button. Not sure why Mojang decided to send that event +twice when pressing escape, but might be interesting to be able to detect that. + ### `__on_player_starts_sneaking(player)` ### `__on_player_stops_sneaking(player)` ### `__on_player_starts_sprinting(player)`