Package net.minecraft.network
Interface PacketListener
- All Known Subinterfaces:
ClientboundPacketListener
,ClientCommonPacketListener
,ClientConfigurationPacketListener
,ClientGamePacketListener
,ClientLoginPacketListener
,ClientPongPacketListener
,ClientStatusPacketListener
,ServerboundPacketListener
,ServerCommonPacketListener
,ServerConfigurationPacketListener
,ServerGamePacketListener
,ServerHandshakePacketListener
,ServerLoginPacketListener
,ServerPacketListener
,ServerPingPacketListener
,ServerStatusPacketListener
,TickablePacketListener
- All Known Implementing Classes:
ClientCommonPacketListenerImpl
,ClientConfigurationPacketListenerImpl
,ClientHandshakePacketListenerImpl
,ClientPacketListener
,FakePlayer.FakePlayerNetHandler
,MemoryServerHandshakePacketListenerImpl
,ServerCommonPacketListenerImpl
,ServerConfigurationPacketListenerImpl
,ServerGamePacketListenerImpl
,ServerHandshakePacketListenerImpl
,ServerLoginPacketListenerImpl
,ServerStatusPacketListenerImpl
public interface PacketListener
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
fillCrashReport
(CrashReport p_314927_) default void
flow()
boolean
void
onDisconnect
(Component p_130552_) protocol()
default boolean
shouldHandleMessage
(Packet<?> p_295210_) default boolean
-
Method Details
-
flow
PacketFlow flow() -
protocol
ConnectionProtocol protocol() -
onDisconnect
-
isAcceptingMessages
boolean isAcceptingMessages() -
shouldHandleMessage
-
shouldPropagateHandlingExceptions
default boolean shouldPropagateHandlingExceptions() -
fillCrashReport
-
fillListenerSpecificCrashDetails
-