Class SlimefunStartupTask

java.lang.Object
io.github.thebusybiscuit.slimefun4.implementation.tasks.SlimefunStartupTask
All Implemented Interfaces:
Runnable

public class SlimefunStartupTask extends Object implements Runnable
This Task initializes all items, some listeners and various other stuff. This has been moved to its own class to make timings log easier to read, so they say "SlimefunStartupTask" instead of "Slimefun:lambda:123456789".
Author:
TheBusyBiscuit
  • Constructor Details

    • SlimefunStartupTask

      public SlimefunStartupTask(@Nonnull Slimefun plugin, @Nonnull Runnable runnable)
      This initializes our SlimefunStartupTask for the given Slimefun.
      Parameters:
      plugin - The main instance of our Slimefun
      runnable - A Runnable containing additional operations that need to be run
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable