How do I create a runnable that runs multiple tasks at once?

Discussion in 'Spigot Plugin Development' started by OffsetPaladin89, Nov 9, 2019.

  1. What I'm trying to do is create a runnable that can do multiple tasks simultaneously. How would I do this for an n amount tasks.
  2. needs more explanation. creating several runnables and queuing them all at the same time so that they tick at roughly the same time should be enough.. but may not be depending on what you need. asynchronously would be the way youd normally do it, but you cannot interact with most of the bukkit api asynchronously
  3. Just create bunch of instances of that Runnable
  4. Maybe u can create class and extends BukkitRunnable