mineflayer-statemachine icon indicating copy to clipboard operation
mineflayer-statemachine copied to clipboard

Any idea how to sort the state machines?

Open sefirosweb opened this issue 2 years ago • 3 comments

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 avatar Sep 24 '21 07:09 sefirosweb

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

I'm on the right path, right? 🙁

sefirosweb avatar Oct 03 '22 20:10 sefirosweb

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 avatar Jan 24 '23 12:01 sefirosweb

Preview:

image

sefirosweb avatar Jan 26 '23 17:01 sefirosweb