Package net.minecraft.network.listener
Interface ServerCrashSafePacketListener
- All Superinterfaces:
PacketListener
,ServerPacketListener
- All Known Subinterfaces:
ServerCommonPacketListener
,ServerConfigurationPacketListener
,ServerCookieResponsePacketListener
,ServerHandshakePacketListener
,ServerLoginPacketListener
,ServerPlayPacketListener
,ServerQueryPacketListener
- All Known Implementing Classes:
LocalServerHandshakeNetworkHandler
,ServerCommonNetworkHandler
,ServerConfigurationNetworkHandler
,ServerHandshakeNetworkHandler
,ServerLoginNetworkHandler
,ServerPlayNetworkHandler
,ServerQueryNetworkHandler
The interface for serverbound packet listeners.
- Implementation Note:
- Serverbound packet listeners log any uncaught exceptions without crashing.
- Mappings:
Namespace Name named net/minecraft/network/listener/ServerCrashSafePacketListener
intermediary net/minecraft/class_6857
official agx
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
onPacketException
(Packet packet, Exception exception) Methods inherited from interface net.minecraft.network.listener.PacketListener
accepts, addCustomCrashReportInfo, fillCrashReport, getPhase, isConnectionOpen, onDisconnected
Methods inherited from interface net.minecraft.network.listener.ServerPacketListener
getSide
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/network/listener/ServerCrashSafePacketListener;LOGGER:Lorg/slf4j/Logger;
intermediary field_51479
Lnet/minecraft/class_6857;field_51479:Lorg/slf4j/Logger;
official a
Lagx;a:Lorg/slf4j/Logger;
-
-
Method Details
-
onPacketException
- Specified by:
onPacketException
in interfacePacketListener
- Throws:
CrashException
- Mappings:
Namespace Name Mixin selector named onPacketException
Lnet/minecraft/network/listener/PacketListener;onPacketException(Lnet/minecraft/network/packet/Packet;Ljava/lang/Exception;)V
intermediary method_59807
Lnet/minecraft/class_2547;method_59807(Lnet/minecraft/class_2596;Ljava/lang/Exception;)V
official a
Lwv;a(Lzw;Ljava/lang/Exception;)V
-