Interface RemoteServer


public interface RemoteServer
Represents the Java server that Geyser is connecting to.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the IP address of the remote server.
    @NonNull AuthType
    Gets the AuthType required by the remote server.
    Gets the Minecraft version of the remote server.
    int
    Gets the port of the remote server.
    int
    Gets the protocol version of the remote server.
  • Method Details

    • address

      String address()
      Gets the IP address of the remote server.
      Returns:
      the IP address of the remote server
    • port

      int port()
      Gets the port of the remote server.
      Returns:
      the port of the remote server
    • protocolVersion

      int protocolVersion()
      Gets the protocol version of the remote server.
      Returns:
      the protocol version of the remote server
    • minecraftVersion

      String minecraftVersion()
      Gets the Minecraft version of the remote server.
      Returns:
      the Minecraft version of the remote server
    • authType

      @NonNull AuthType authType()
      Gets the AuthType required by the remote server.
      Returns:
      the auth type required by the remote server