From 2ceeb1fdc84ad5b8dbb87bd522f7ecb33438ebda Mon Sep 17 00:00:00 2001 From: WillConker Date: Sun, 9 Jun 2024 19:12:37 +0100 Subject: [PATCH] Added documentation for mcl_playerinfo[name].head_submerged_in --- mods/PLAYER/mcl_playerinfo/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/PLAYER/mcl_playerinfo/README.md b/mods/PLAYER/mcl_playerinfo/README.md index 42bed0b78..d33446518 100644 --- a/mods/PLAYER/mcl_playerinfo/README.md +++ b/mods/PLAYER/mcl_playerinfo/README.md @@ -3,12 +3,13 @@ This is a helper mod for other mod to query the nodes around the player. Every half second the mod checks which node the player is standing on, which -node is at foot and head level and stores inside a global table to be used by mods: +node is at foot and head level, and any liquid the player is in and stores inside a global table to be used by mods: - `mcl_playerinfo[name].node_stand` - `mcl_playerinfo[name].node_stand_below` - `mcl_playerinfo[name].node_foot` - `mcl_playerinfo[name].node_head` +- `mcl_playerinfo[name].head_submerged_in` - liquid node name which the player's camera is at, or nil if not a liquid ## License MIT License