mineflayer-statemachine
mineflayer-statemachine copied to clipboard
Add a way to make triggered transitions universal
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
Hi @jolitti you means you have differents statements and you don't want to pass altrough idle state?