Split mcl_playerplus to mcl_playerinfo for the node info
This commit is contained in:
parent
5ef42f27ec
commit
705dae46a0
11 changed files with 172 additions and 72 deletions
15
mods/PLAYER/mcl_playerinfo/README.md
Normal file
15
mods/PLAYER/mcl_playerinfo/README.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# 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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue