net.minecraft.network

public interface PacketListener

wf
net.minecraft.network.PacketListener
net.minecraft.class_2547
net.minecraft.network.listener.PacketListener
net.minecraft.src.C_4986_
net.minecraft.network.PacketListener

Method summary

Modifier and TypeMethod
PacketFlow
a()
flow()
method_52895()
getSide()
m_292762_()
ConnectionProtocol
b()
protocol()
method_52280()
getPhase()
m_292716_()
void
a(vv arg0)
onDisconnect(DisconnectionDetails arg0)
method_10839(class_9812 arg0)
onDisconnected(DisconnectionInfo info)
m_7026_(C_336456_ arg0)
default void
a(zg arg0, Exception arg1)
onPacketError(Packet arg0, Exception arg1)
method_59807(class_2596 arg0, Exception arg1)
onPacketException(Packet packet, Exception exception)
m_322364_(C_5028_ p_328275_, Exception arg1)
default DisconnectionDetails
a(wz arg0, Throwable arg1)
createDisconnectionInfo(Component arg0, Throwable arg1)
method_60881(class_2561 arg0, Throwable arg1)
createDisconnectionInfo(Text reason, Throwable exception)
m_339360_(C_4996_ p_342140_, Throwable arg1)
boolean
c()
isAcceptingMessages()
method_48106()
isConnectionOpen()
m_6198_()
default boolean
a(zg<?> arg0)
shouldHandleMessage(Packet<?> arg0)
method_52413(class_2596<?> arg0)
accepts(Packet<?> packet)
m_294638_(C_5028_<?> arg0)
default void
a(o arg0)
fillCrashReport(CrashReport arg0)
method_55622(class_128 arg0)
fillCrashReport(CrashReport report)
m_307358_(C_4883_ arg0)
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)
m_306579_(C_4883_ p_310872_, C_4909_ arg1)