Interface ServerProvider

All Known Implementing Classes:
ServerProviderImpl

public interface ServerProvider
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ServerProvider
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static @Nullable net.minecraft.server.dedicated.DedicatedServer
    Server will only exist after server starting event!
    @Nullable net.minecraft.server.dedicated.DedicatedServer
     
  • Field Details

  • Method Details

    • getServer

      static @Nullable net.minecraft.server.dedicated.DedicatedServer getServer()
      Server will only exist after server starting event!
      Returns:
      the current minecraft dedicated server.
    • getServerImpl

      @Internal @Nullable net.minecraft.server.dedicated.DedicatedServer getServerImpl()