MineflayerArmorManager icon indicating copy to clipboard operation
MineflayerArmorManager copied to clipboard

only/exclude config support

Open G07cha opened this issue 10 years ago • 5 comments

G07cha avatar Feb 27 '16 10:02 G07cha

Was the config functionality implemented yet? I tried something similar by checking for armor values ['iron','diamond'] and then pulling those item_ids to allow them to be worn.

Frettarix avatar Jun 27 '20 11:06 Frettarix

Nope, I'm currently moving codebase to typescript so there are quite a bit of major changes coming up soon. I'll try to look at this after the migration.

G07cha avatar Jun 27 '20 12:06 G07cha

I'm very curious of the result, I'm still using javascript together with Node to get my bots in, which also gives me the ability to create an easy Web UI, what are cons and pros for typescript?

Frettarix avatar Jun 27 '20 17:06 Frettarix

It's done already by the way, feel free to explore. Typescript is a subset of javascript which basically adds strict types to the language, it's a two edged sword since it allows to create code less prone to errors by sacrificing speed of development because you need to write same code as in javascript but also add types and ensure they are being followed. You can still easily use this module in your javascript project, I just personally find typescript better in a long run 🙂

G07cha avatar Jun 28 '20 13:06 G07cha

Thanks for the heads up buddy, will look into Typescript! ;)

Frettarix avatar Jun 29 '20 14:06 Frettarix