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

Add a way to make triggered transitions universal

Open jolitti opened this issue 3 years ago • 1 comments

I'm writing a bot that can pass from an idle state into a variety of states designed to perform certain activities. When I'm defining the transitions to the idle state, i'd like to be able to define called "returnToIdle" that can have any other state as a parent, to avoid having to write one for each behavior

jolitti avatar Jun 06 '21 16:06 jolitti

Hi @jolitti you means you have differents statements and you don't want to pass altrough idle state?

sefirosweb avatar Aug 28 '21 21:08 sefirosweb