PrismarineJS / mineflayer-statemachine

A state machine plugin for Mineflayer to aid in designing more complex behavior trees.
https://thedudefromci.github.io/mineflayer-statemachine/
MIT License
111 stars 26 forks source link

Any idea how to sort the state machines? #115

Open sefirosweb opened 3 years ago

sefirosweb commented 3 years ago

My bot starts to have a HUGE number of functions :D I'm proud of that, and I reuse a lot of functions in a lot of things, it saves me time and bugs

BUT I have a little problem, I start to have a tree too much and it does not begin to be clear,

One of the "" problems "" is that when I use the same function in different behaviors they are seen in all, (example take items from the chest / floor)

I don't know from where starts / end the functions

Any advice on how to improve this? I attach my tree of states

Screenshot_2

I was thinking of making each nested a dropodown / or a rectangle but I don't know if it could be more confusing

sefirosweb commented 2 years ago

Any one use them? seems i'm are alone developing with state machine XD

I'm on the right path, right? 🙁

sefirosweb commented 1 year ago

Guys I have an idea to improve the webservice,

Istead to have a larger buttons with a bit "indent" why not create a folder / subfolders style? adding the option to dropdown or not the sub behaviors

SImilar has: image

I can do it myself, but first to save waste time what do you think? If you see ok i will develop

Also i think is necessary to move the bar bar manually instead fixed

image

sefirosweb commented 1 year ago

Preview:

image