Hello everybody!
I'm writing simple Sorting Visualizer in Scala
I'm currently roadblocked by the Scheduling API, specifically, lack of understanding Minecraft concurrency
Since I've failed to gather any info online, I came here with my question
So, I have Item "Shuffle", purpose of which is to shuffle array made out of concrete columns
I want to make 1 iteration of shuffling every 5 ticks (Not using java.util.Timer or etc. since in my personal opinion tick based approach is more idiomatic)
I'm not really sure how to do that
Gist with highlighted code fragment
Thanks for any feedback!