Rewrote most of the state machine code to be a lot easier to understand
Before the ShulkerState indicated exhausted or infused what stored no matter what Phase the hyperdrive was in, but its only actually used/has an effect in the charging phase. Now Phase is a sealed interface that allows the Charging phase to store a shulker state whilst the other don’t have to.
I also added a feature so that if the previous teleport attempt failed, the cooldown period is shortened (with an appropriate config variable to change it)
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.