Uses of Enum Class
net.minecraft.network.ConnectionIntent
Packages that use ConnectionIntent
-
Uses of ConnectionIntent in net.minecraft.network
Methods in net.minecraft.network that return ConnectionIntentModifier and TypeMethodDescriptionstatic ConnectionIntentConnectionIntent.byId(int id) static ConnectionIntentReturns 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.Methods in net.minecraft.network with parameters of type ConnectionIntentModifier and TypeMethodDescriptionprivate voidClientConnection.connect(String address, int port, PacketListener listener, ConnectionIntent intent) voidClientConnection.setS2CPacketHandler(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 ConnectionIntentHandshakeC2SPacket.intendedStateThe field for theintendedStaterecord component.Methods in net.minecraft.network.packet.c2s.handshake that return ConnectionIntentModifier and TypeMethodDescriptionHandshakeC2SPacket.intendedState()Returns the value of theintendedStaterecord component.Constructors in net.minecraft.network.packet.c2s.handshake with parameters of type ConnectionIntentModifierConstructorDescriptionHandshakeC2SPacket(int int2, String string, int int3, ConnectionIntent connectionIntent) Deprecated.