Uses of Enum Class
net.minecraft.network.packet.c2s.handshake.ConnectionIntent
-
Uses of ConnectionIntent in net.minecraft.network
Modifier and TypeMethodDescriptionprivate <S extends ServerPacketListener,
C extends ClientPacketListener>
voidClientConnection.connect
(String address, int port, NetworkState<S> outboundState, NetworkState<C> inboundState, C prePlayStateListener, 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.