mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-15 23:43:44 +01:00
16 lines
443 B
Markdown
16 lines
443 B
Markdown
|
# PlayerInfo mod for MineClone 2
|
||
|
|
||
|
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:
|
||
|
|
||
|
- `mcl_playerinfo[name].node_stand`
|
||
|
- `mcl_playerinfo[name].node_stand_below`
|
||
|
- `mcl_playerinfo[name].node_foot`
|
||
|
- `mcl_playerinfo[name].node_head`
|
||
|
|
||
|
## License
|
||
|
MIT License
|
||
|
|