Uses of Enum Class
net.minecraft.network.packet.c2s.handshake.ConnectionIntent
Packages that use ConnectionIntent
-
Uses of ConnectionIntent in net.minecraft.network
Methods in net.minecraft.network with parameters of type ConnectionIntentModifier 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
Fields in net.minecraft.network.packet.c2s.handshake declared as ConnectionIntentModifier and TypeFieldDescriptionprivate final ConnectionIntent
HandshakeC2SPacket.intendedState
The field for theintendedState
record component.Methods in net.minecraft.network.packet.c2s.handshake that return ConnectionIntentModifier 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.Constructors in net.minecraft.network.packet.c2s.handshake with parameters of type ConnectionIntentModifierConstructorDescriptionHandshakeC2SPacket
(int int2, String string, int int3, ConnectionIntent connectionIntent) Deprecated.