2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_2547 net/minecraft/network/listener/PacketListener
|
2023-01-21 12:01:44 -05:00
|
|
|
COMMENT A packet listener listens to packets on a {@linkplain
|
|
|
|
COMMENT net.minecraft.network.ClientConnection connection}.
|
2021-03-27 10:26:40 -04:00
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Its listener methods will be called on the netty event loop than the
|
|
|
|
COMMENT client or server game engine threads.
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_10839 onDisconnected (Lnet/minecraft/class_2561;)V
|
2021-03-27 10:26:40 -04:00
|
|
|
COMMENT Called when the connection this listener listens to has disconnected.
|
|
|
|
COMMENT Can be used to display the disconnection reason.
|
2019-02-16 15:50:10 -05:00
|
|
|
ARG 1 reason
|
2021-03-27 10:26:40 -04:00
|
|
|
COMMENT the reason of disconnection; may be a generic message
|
2023-01-20 04:50:59 -05:00
|
|
|
METHOD method_48106 isConnectionOpen ()Z
|
2024-01-21 12:11:40 -05:00
|
|
|
METHOD method_52280 getPhase ()Lnet/minecraft/class_2539;
|
2023-08-04 07:01:01 -04:00
|
|
|
METHOD method_52413 accepts (Lnet/minecraft/class_2596;)Z
|
|
|
|
ARG 1 packet
|
|
|
|
METHOD method_52895 getSide ()Lnet/minecraft/class_2598;
|
2023-11-28 02:48:05 -05:00
|
|
|
METHOD method_55597 addCustomCrashReportInfo (Lnet/minecraft/class_129;)V
|
|
|
|
ARG 1 section
|
|
|
|
METHOD method_55622 fillCrashReport (Lnet/minecraft/class_128;)V
|
|
|
|
ARG 1 report
|
2024-04-15 12:52:03 -04:00
|
|
|
METHOD method_59807 onPacketException (Lnet/minecraft/class_2596;Ljava/lang/Exception;)V
|
|
|
|
ARG 1 packet
|
|
|
|
ARG 2 exception
|