Class SparkMinestom

java.lang.Object
me.lucko.spark.minestom.SparkMinestom

public final class SparkMinestom extends Object
The main entry point for the Minestom port of Spark
  • Method Details

    • builder

      @NotNull public static @NotNull SparkMinestom.Builder builder(@NotNull @NotNull Path dataDirectory)
      Creates a new SparkMinestom builder
      Parameters:
      dataDirectory - the data directory to store all Spark data
      Returns:
      a new builder
    • shutdown

      public void shutdown()
      Shuts down the Spark instance
    • platform

      @NotNull public @NotNull me.lucko.spark.common.SparkPlatform platform()
      Gets the Spark native platform instance
      Returns:
      the platform instance