1
0
Fork 0
MineClone2/mods/PLAYER/mcl_playerinfo
Sumyjkl 9062a6e22e add node_head_top to check to make sure you won't clip through blocks before going out of swim / fly mode 2022-07-17 23:14:24 +10:00
..
README.md
init.lua add node_head_top to check to make sure you won't clip through blocks before going out of swim / fly mode 2022-07-17 23:14:24 +10:00
license.txt
mod.conf

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