net.minecraft.network

public interface PacketListener

wv
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(xp arg0)
onDisconnect(Component arg0)
method_10839(class_2561 arg0)
onDisconnected(Text reason)
m_7026_(C_4996_ arg0)
default void
a(zw 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)
boolean
c()
isAcceptingMessages()
method_48106()
isConnectionOpen()
m_6198_()
default boolean
a(zw<?> 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(p arg0)
fillListenerSpecificCrashDetails(CrashReportCategory arg0)
method_55597(class_129 arg0)
addCustomCrashReportInfo(CrashReportSection section)
m_306579_(C_4909_ arg0)