Package net.minecraft.server.network
Class ServerHandshakePacketListenerImpl
java.lang.Object
net.minecraft.server.network.ServerHandshakePacketListenerImpl
- All Implemented Interfaces:
PacketListener
,ServerPacketListener
,ServerHandshakePacketListener
,ServerboundPacketListener
public class ServerHandshakePacketListenerImpl
extends Object
implements ServerHandshakePacketListener
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Connection
private static final Component
private final MinecraftServer
-
Constructor Summary
ConstructorDescriptionServerHandshakePacketListenerImpl
(MinecraftServer p_9969_, Connection p_9970_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleIntention
(ClientIntentionPacket p_9975_) boolean
void
onDisconnect
(Component p_9973_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.PacketListener
fillCrashReport, fillListenerSpecificCrashDetails, shouldHandleMessage
Methods inherited from interface net.minecraft.network.ServerboundPacketListener
flow
Methods inherited from interface net.minecraft.network.protocol.handshake.ServerHandshakePacketListener
protocol
Methods inherited from interface net.minecraft.network.protocol.game.ServerPacketListener
shouldPropagateHandlingExceptions
-
Field Details
-
IGNORE_STATUS_REASON
-
server
-
connection
-
-
Constructor Details
-
ServerHandshakePacketListenerImpl
-
-
Method Details
-
handleIntention
- Specified by:
handleIntention
in interfaceServerHandshakePacketListener
-
onDisconnect
- Specified by:
onDisconnect
in interfacePacketListener
-
isAcceptingMessages
public boolean isAcceptingMessages()- Specified by:
isAcceptingMessages
in interfacePacketListener
-