1
0
Fork 0
VoxeLibre/mods/ITEMS/mcl_beds
chmodsayshello 6ee2dbe70c Add MineCraft like sleeping player hud (#4011)
This adds a sleeping hud/actionbar that'll be displayed to players currently not sleeping.

Reviewed-on: MineClone2/MineClone2#4011
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: chmodsayshello <chmodsayshello@hotmail.com>
Co-committed-by: chmodsayshello <chmodsayshello@hotmail.com>
2023-11-18 21:21:17 +00:00
..
locale Add MineCraft like sleeping player hud (#4011) 2023-11-18 21:21:17 +00:00
models Replace bed nodeboxes with meshes 2022-10-06 17:36:51 +01:00
README.txt Add documentation for mcl_beds.is_night() 2022-09-10 03:07:41 +02:00
api.lua Don't drop beds in creative 2023-04-02 11:06:37 -05:00
beds.lua Replace bed nodeboxes with meshes 2022-10-06 17:36:51 +01:00
functions.lua Add MineCraft like sleeping player hud (#4011) 2023-11-18 21:21:17 +00:00
init.lua code from inital PR 2022-05-08 19:57:09 +00:00
license.txt Rename beds mod to mcl_beds 2017-05-07 20:21:37 +02:00
mod.conf Beds mesecons dependency incorrectly named 2023-05-09 23:34:07 +00:00
respawn_anchor.lua Remove deprecated usages of image property in tile defs 2023-03-26 22:56:33 +00:00

README.txt

Minetest Game mod: beds
=======================
See license.txt for license information.

Authors of source code
----------------------
Originally by BlockMen (MIT)
Various Minetest developers and contributors (MIT)

Authors of media (textures)
---------------------------
BlockMen (CC BY-SA 3.0)

This mod adds a bed to Minetest which allows to skip the night.
To sleep, rightclick the bed.
Another feature is a controlled respawning. If you have slept in bed your respawn point is set to the beds location and you will respawn there after
death.

Use the mcl_playersSleepingPercentage setting to enable/disable night skipping or set a percentage of how many players need to sleep to skip the night.

mcl_beds.is_night([ time of day ]) - returns wether it's night with optional argument of a minetest time of day value between 0 and 1