jay
feb0b0927a
feat(informer): ✨ add villager profession details
...
Provide names in place of numbers for villager profession.
Implementation uses an enum
3 years ago
jay
8276e68489
feat(informer): ✨ add block info based on relative position for players
3 years ago
jay
2b7163bef3
feat(informer): ✨ add block info based on other players
...
Now should work for position of players other than the callee.
Alternative implementation could use `entity` function.
This allows to also work for named entities as a bonus.
3 years ago
jay
a0b4641f37
feat(informer): ✨ add entity detail by type and kind for some entities
...
So far:
- mobs
- villager
- object
- drops
3 years ago
jay
186d6ac3d2
feat(informer): 🚸 add more detail to entity info
3 years ago
jay
984c9490c3
fix(informer): 🥅 make `player` undefined if nul
...
This allows to fallback to defaults in functions
3 years ago
jay
3379f75ab9
feat(informer): 🚸 make entity search case insensitive
3 years ago
jay
69b1ab0b0b
feat(informer): ✨ add reverse mcdata lookup by block or item id
3 years ago
jay
3c9d62441f
feat(informer): ✨ add block info based on player's relative position
...
Relative position includes simple words like "feet", "standing", "head", etc
3 years ago
jay
665102e19c
fix(informer): 🚑 remove extra `let cfg` declaration left over from refactor
3 years ago
jay
db459f52e6
fix(informer): ✏️ fix typo in `isVec3` check function
3 years ago
jay
360eeff02f
feat(informer): ✨ add item info based on player
...
Change the parameter order of `item` function to accomodate this
3 years ago
jay
25faac2f4c
feat(informer): ✨ add command `me` for block info based on player position
3 years ago
jay
ccf0c598e8
feat(informer): ✨ add block info based on player position or manually provided coords
...
This paves the way to get block info based on positions relative from the player
3 years ago
jay
050e2b3bd9
feat(informer): 🚸 add sub-command for module level quiet
3 years ago
jay
e879d1f4ad
refactor(informer): ♻️ reorder config loading
3 years ago
jay
72c4622091
feat(informer): ✨ various improvements and fixes
...
Feat:
- Letter aliases for subcommands.
- Most recent command when no input.
- Start player relative info stub.
Fix:
- Player username not shown.
3 years ago
jay
e5faa6f022
feat(informer): ✨ add more detail to item info
...
Gives detail of traversing the item's nbt data
3 years ago
jay
7050a1621b
fix(informer): 🐛 add missing name for entity info when entity is a player
...
Uses `username` when `entity.name` is missing; should check other cases
3 years ago
jay
7cbfa16476
feat(informer): ✨ add case for when sub command is passed a single param
...
Currently returns:
- Item at given slot number
- Entity that matches given name
3 years ago
jay
63849e0729
fix(informer): 🥅 catch and report when objects are missing
3 years ago
jay
4e7f8d59fd
feat(informer): ✨ add more detailed block metadata info
...
Uses `block.getProperties()`. Thanks to a [comment][1]
[1]: https://github.com/PrismarineJS/mineflayer-pathfinder/pull/84/files#r541196424
3 years ago
jay
8a39596b1d
feat(informer): ✨ add info for block at given position
3 years ago
jay
2601b7cfb1
fix(informer): 🥅 fix crash for block info when no block or an empty block is found
3 years ago
jay
9a6e684b11
feat(informer): ✨ add info about nearest entities
3 years ago
jay
3488a94233
feat(informer): ✨ info about held item(s)
3 years ago
jay
3219ec6155
feat(informer): ✨ actually add a command for info plugin
3 years ago
jay
4b8a39d38c
feat(informer): ✨ add optional metadata to block info display
3 years ago
jay
6b71de0356
refactor(informer): 🚚 proper name to block info function
...
Be more specific: `block` instead of `info`.
In anticipation of future functions in this module.
3 years ago
jay
96214ffe37
fix(informer): 🐛 use block.type instead of block.id
...
`block.id` is nonexistent when tested live
3 years ago
jay
034f8d331a
fix(informer): 🐛 convert array to string for chat
...
`bot.chat` only supports strings
3 years ago
jay
65d13a3379
style: fix crlf -> lf
3 years ago
jay
288b7045b6
feat: ✨ add informer plugin to show info
...
Data and information plugin.
Expose methods in mcData with acceptable ux.
Also central place for all kinds of debug features.
3 years ago