Interface ServerPacketListener

All Superinterfaces:
class_8701, PacketListener
All Known Subinterfaces:
class_8706, class_8735, ServerHandshakePacketListener, ServerLoginPacketListener, ServerPlayPacketListener, ServerQueryPacketListener
All Known Implementing Classes:
class_8609, class_8610, LocalServerHandshakeNetworkHandler, ServerHandshakeNetworkHandler, ServerLoginNetworkHandler, ServerPlayNetworkHandler, ServerQueryNetworkHandler

public interface ServerPacketListener extends class_8701
The base interface for serverbound packet listeners.
Implementation Note:
Serverbound packet listeners log any uncaught exceptions without crashing.
Mappings:
Namespace Name
official aaw
intermediary net/minecraft/class_6857
named net/minecraft/network/listener/ServerPacketListener
  • Method Details

    • shouldCrashOnException

      default boolean shouldCrashOnException()
      Returns whether uncaught exceptions in main thread should crash the game instead of logging and ignoring them.
      Specified by:
      shouldCrashOnException in interface PacketListener
      Returns:
      whether uncaught exceptions in main thread should crash the game instead of logging and ignoring them
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lsn;d()Z
      intermediary method_40065 Lnet/minecraft/class_2547;method_40065()Z
      named shouldCrashOnException Lnet/minecraft/network/listener/PacketListener;shouldCrashOnException()Z