Added documentation for mcl_playerinfo[name].head_submerged_in

This commit is contained in:
WillConker 2024-06-09 19:12:37 +01:00
parent 77a9f83e6a
commit 2ceeb1fdc8
1 changed files with 2 additions and 1 deletions

View File

@ -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