Class JavaLoginDisconnectTranslator

java.lang.Object
org.geysermc.geyser.translator.protocol.PacketTranslator<com.github.steveice10.mc.protocol.packet.login.clientbound.ClientboundLoginDisconnectPacket>
org.geysermc.geyser.translator.protocol.java.JavaLoginDisconnectTranslator

public class JavaLoginDisconnectTranslator extends PacketTranslator<com.github.steveice10.mc.protocol.packet.login.clientbound.ClientboundLoginDisconnectPacket>
  • Constructor Details

    • JavaLoginDisconnectTranslator

      public JavaLoginDisconnectTranslator()
  • Method Details

    • translate

      public void translate(GeyserSession session, com.github.steveice10.mc.protocol.packet.login.clientbound.ClientboundLoginDisconnectPacket packet)
      Specified by:
      translate in class PacketTranslator<com.github.steveice10.mc.protocol.packet.login.clientbound.ClientboundLoginDisconnectPacket>
    • shouldExecuteInEventLoop

      public boolean shouldExecuteInEventLoop()
      Description copied from class: PacketTranslator
      Determines if this packet should be handled in the session's event loop. This should generally be true - only when the packet has to be executed immediately should it be false.
      Overrides:
      shouldExecuteInEventLoop in class PacketTranslator<com.github.steveice10.mc.protocol.packet.login.clientbound.ClientboundLoginDisconnectPacket>