forked from VoxeLibre/VoxeLibre
Added documentation for mcl_playerinfo[name].head_submerged_in
This commit is contained in:
parent
77a9f83e6a
commit
2ceeb1fdc8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue