net.minecraft.network

public interface PacketListener

vv
net.minecraft.network.PacketListener
net.minecraft.class_2547
net.minecraft.network.listener.PacketListener
net.minecraft.network.PacketListener

Method summary

Modifier and TypeMethod
PacketFlow
a()
flow()
method_52895()
getSide()
ConnectionProtocol
b()
protocol()
method_52280()
getPhase()
void
a(vk arg0)
onDisconnect(DisconnectionDetails arg0)
method_10839(class_9812 arg0)
onDisconnected(DisconnectionInfo info)
default void
a(yw arg0, Exception arg1)
onPacketError(Packet arg0, Exception arg1)
method_59807(class_2596 arg0, Exception arg1)
onPacketException(Packet packet, Exception exception)
default DisconnectionDetails
a(wp arg0, Throwable arg1)
createDisconnectionInfo(Component arg0, Throwable arg1)
method_60881(class_2561 arg0, Throwable arg1)
createDisconnectionInfo(Text reason, Throwable exception)
boolean
c()
isAcceptingMessages()
method_48106()
isConnectionOpen()
default boolean
a(yw<?> arg0)
shouldHandleMessage(Packet<?> arg0)
method_52413(class_2596<?> arg0)
accepts(Packet<?> packet)
default void
a(o arg0)
fillCrashReport(CrashReport arg0)
method_55622(class_128 arg0)
fillCrashReport(CrashReport report)
default void
a(o arg0, p arg1)
fillListenerSpecificCrashDetails(CrashReport arg0, CrashReportCategory arg1)
method_55597(class_128 arg0, class_129 arg1)
addCustomCrashReportInfo(CrashReport report, CrashReportSection section)