Class GeyserSession

java.lang.Object
org.geysermc.connector.network.session.GeyserSession

@Deprecated public class GeyserSession extends Object
Deprecated.
legacy code
Deprecated, legacy code. Serves as a wrapper around the class used now.
  • Constructor Details

    • GeyserSession

      public GeyserSession(GeyserSession handle)
      Deprecated.
  • Method Details

    • getAuthData

      public AuthData getAuthData()
      Deprecated.
    • isMicrosoftAccount

      public boolean isMicrosoftAccount()
      Deprecated.
    • isClosed

      public boolean isClosed()
      Deprecated.
    • getRemoteAddress

      public String getRemoteAddress()
      Deprecated.
    • getRemotePort

      public int getRemotePort()
      Deprecated.
    • getRenderDistance

      public int getRenderDistance()
      Deprecated.
    • isSentSpawnPacket

      public boolean isSentSpawnPacket()
      Deprecated.
    • isLoggedIn

      public boolean isLoggedIn()
      Deprecated.
    • isLoggingIn

      public boolean isLoggingIn()
      Deprecated.
    • isSpawned

      public boolean isSpawned()
      Deprecated.
    • isInteracting

      public boolean isInteracting()
      Deprecated.
    • isCanFly

      public boolean isCanFly()
      Deprecated.
    • isFlying

      public boolean isFlying()
      Deprecated.
    • connect

      public void connect()
      Deprecated.
    • login

      public void login()
      Deprecated.
    • authenticate

      public void authenticate(String username)
      Deprecated.
    • authenticate

      public void authenticate(String username, String password)
      Deprecated.
    • authenticateWithMicrosoftCode

      public void authenticateWithMicrosoftCode()
      Deprecated.
    • disconnect

      public void disconnect(String reason)
      Deprecated.
    • close

      public void close()
      Deprecated.
    • executeInEventLoop

      public void executeInEventLoop(Runnable runnable)
      Deprecated.
    • getName

      public String getName()
      Deprecated.
    • isConsole

      public boolean isConsole()
      Deprecated.
    • getLocale

      public String getLocale()
      Deprecated.
    • sendUpstreamPacket

      public void sendUpstreamPacket(com.nukkitx.protocol.bedrock.BedrockPacket packet)
      Deprecated.
    • sendUpstreamPacketImmediately

      public void sendUpstreamPacketImmediately(com.nukkitx.protocol.bedrock.BedrockPacket packet)
      Deprecated.
    • sendDownstreamPacket

      public void sendDownstreamPacket(com.github.steveice10.packetlib.packet.Packet packet)
      Deprecated.
    • hasPermission

      public boolean hasPermission(String permission)
      Deprecated.
    • sendAdventureSettings

      public void sendAdventureSettings()
      Deprecated.