net.minecraft.network

public interface PacketListener

su
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()
getState()
m_292716_()
void
a(tl arg0)
onDisconnect(Component arg0)
method_10839(class_2561 arg0)
onDisconnected(Text reason)
m_7026_(C_4996_ arg0)
boolean
c()
isAcceptingMessages()
method_48106()
isConnectionOpen()
m_6198_()
default boolean
a(vd<?> arg0)
shouldHandleMessage(Packet<?> arg0)
method_52413(class_2596<?> arg0)
accepts(Packet<?> packet)
m_294638_(C_5028_<?> arg0)
default boolean
d()
shouldPropagateHandlingExceptions()
method_40065()
shouldCrashOnException()
m_201767_()