Class HandshakeC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.handshake.HandshakeC2SPacket
- All Implemented Interfaces:
Packet<ServerHandshakePacketListener>
- Mappings:
Namespace Name official vi
intermediary net/minecraft/class_2889
named net/minecraft/network/packet/c2s/handshake/HandshakeC2SPacket
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private NetworkState
private static int
private int
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply(ServerHandshakePacketListener serverHandshakePacketListener)
int
getPort()
int
void
write(PacketByteBuf buf)
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.Packet
isWritingErrorSkippable
-
Field Details
-
MAX_ADDRESS_LENGTH
private static final int MAX_ADDRESS_LENGTH- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official a
Lvi;a:I
intermediary field_33372
Lnet/minecraft/class_2889;field_33372:I
named MAX_ADDRESS_LENGTH
Lnet/minecraft/network/packet/c2s/handshake/HandshakeC2SPacket;MAX_ADDRESS_LENGTH:I
-
protocolVersion
private final int protocolVersion- Mappings:
Namespace Name Mixin selector official b
Lvi;b:I
intermediary field_13158
Lnet/minecraft/class_2889;field_13158:I
named protocolVersion
Lnet/minecraft/network/packet/c2s/handshake/HandshakeC2SPacket;protocolVersion:I
-
address
- Mappings:
Namespace Name Mixin selector official c
Lvi;c:Ljava/lang/String;
intermediary field_13159
Lnet/minecraft/class_2889;field_13159:Ljava/lang/String;
named address
Lnet/minecraft/network/packet/c2s/handshake/HandshakeC2SPacket;address:Ljava/lang/String;
-
port
private final int port- Mappings:
Namespace Name Mixin selector official d
Lvi;d:I
intermediary field_13157
Lnet/minecraft/class_2889;field_13157:I
named port
Lnet/minecraft/network/packet/c2s/handshake/HandshakeC2SPacket;port:I
-
intendedState
- Mappings:
Namespace Name Mixin selector official e
Lvi;e:Lof;
intermediary field_13156
Lnet/minecraft/class_2889;field_13156:Lnet/minecraft/class_2539;
named intendedState
Lnet/minecraft/network/packet/c2s/handshake/HandshakeC2SPacket;intendedState:Lnet/minecraft/network/NetworkState;
-
-
Constructor Details
-
HandshakeC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lvi;<init>(Ljava/lang/String;ILof;)V
intermediary <init>
Lnet/minecraft/class_2889;<init>(Ljava/lang/String;ILnet/minecraft/class_2539;)V
named <init>
Lnet/minecraft/network/packet/c2s/handshake/HandshakeC2SPacket;<init>(Ljava/lang/String;ILnet/minecraft/network/NetworkState;)V
-
HandshakeC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lvi;<init>(Log;)V
intermediary <init>
Lnet/minecraft/class_2889;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/c2s/handshake/HandshakeC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ServerHandshakePacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lpk;a(Log;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ServerHandshakePacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lvi;a(Lvj;)V
intermediary method_12575
Lnet/minecraft/class_2889;method_12575(Lnet/minecraft/class_2890;)V
named apply
Lnet/minecraft/network/packet/c2s/handshake/HandshakeC2SPacket;apply(Lnet/minecraft/network/listener/ServerHandshakePacketListener;)V
-
getIntendedState
- Mappings:
Namespace Name Mixin selector official b
Lvi;b()Lof;
intermediary method_12573
Lnet/minecraft/class_2889;method_12573()Lnet/minecraft/class_2539;
named getIntendedState
Lnet/minecraft/network/packet/c2s/handshake/HandshakeC2SPacket;getIntendedState()Lnet/minecraft/network/NetworkState;
-
getProtocolVersion
public int getProtocolVersion()- Mappings:
Namespace Name Mixin selector official c
Lvi;c()I
intermediary method_12574
Lnet/minecraft/class_2889;method_12574()I
named getProtocolVersion
Lnet/minecraft/network/packet/c2s/handshake/HandshakeC2SPacket;getProtocolVersion()I
-
getAddress
- Mappings:
Namespace Name Mixin selector official d
Lvi;d()Ljava/lang/String;
intermediary method_36174
Lnet/minecraft/class_2889;method_36174()Ljava/lang/String;
named getAddress
Lnet/minecraft/network/packet/c2s/handshake/HandshakeC2SPacket;getAddress()Ljava/lang/String;
-
getPort
public int getPort()- Mappings:
Namespace Name Mixin selector official e
Lvi;e()I
intermediary method_36175
Lnet/minecraft/class_2889;method_36175()I
named getPort
Lnet/minecraft/network/packet/c2s/handshake/HandshakeC2SPacket;getPort()I
-