Sleep in Bed
minecraft_sleepFind the nearest bed and sleep to skip the night or thunderstorm, but only when it's safe from monsters.
Instructions
Finds the nearest bed (or one at given coordinates) and sleeps in it. Only works at night/during thunderstorms, and only if the bed is safe (no monsters nearby).
Returns: { message: string } Errors: no bed found nearby, not night, monsters nearby, or bed occupied/unsafe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| z | No |