Uses of Enum Class
net.minecraft.network.packet.c2s.handshake.ConnectionIntent
-
Uses of ConnectionIntent in net.minecraft.network
Modifier and TypeMethodDescriptionprivate void
ClientConnection.connect
(String address, int port, PacketListener listener, ConnectionIntent intent) void
ClientConnection.setS2CPacketHandler
(ConnectionIntent intent) -
Uses of ConnectionIntent in net.minecraft.network.packet.c2s.handshake
Modifier and TypeFieldDescriptionprivate final ConnectionIntent
HandshakeC2SPacket.intendedState
The field for theintendedState
record component.Modifier and TypeMethodDescriptionstatic ConnectionIntent
ConnectionIntent.byId
(int id) HandshakeC2SPacket.intendedState()
Returns the value of theintendedState
record component.static ConnectionIntent
Returns the enum constant of this class with the specified name.static ConnectionIntent[]
ConnectionIntent.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionHandshakeC2SPacket
(int int2, String string, int int3, ConnectionIntent connectionIntent) Deprecated.