Mineclonia-pt_BR/mods/PLAYER/mcl_playerinfo
Elias Åström 5d3514880a Move data from deprecated files to mod.conf
Move data from deprecated files (depends.txt and description.txt) into
fields in mod.conf for all mods.
2021-05-16 13:44:04 +02:00
..
README.md Split mcl_playerplus to mcl_playerinfo for the node info 2017-08-04 19:23:06 +02:00
init.lua replace pairs() by ipairs() in mcl_playerinfo 2021-02-18 15:31:13 +00:00
license.txt Split mcl_playerplus to mcl_playerinfo for the node info 2017-08-04 19:23:06 +02:00
mod.conf Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00

README.md

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