Uses of Enum Class
net.minecraft.network.protocol.handshake.ClientIntent
Packages that use ClientIntent
-
Uses of ClientIntent in net.minecraft.network
Methods in net.minecraft.network with parameters of type ClientIntentModifier and TypeMethodDescriptionprivate <S extends ServerboundPacketListener,
C extends ClientboundPacketListener>
voidConnection.initiateServerboundConnection
(String pHostName, int pPort, ProtocolInfo<S> pServerboundProtocol, ProtocolInfo<C> pClientboundProtocol, C pPacketListener, ClientIntent pIntention) -
Uses of ClientIntent in net.minecraft.network.protocol.handshake
Fields in net.minecraft.network.protocol.handshake declared as ClientIntentModifier and TypeFieldDescriptionprivate final ClientIntent
ClientIntentionPacket.intention
The field for theintention
record component.Methods in net.minecraft.network.protocol.handshake that return ClientIntentModifier and TypeMethodDescriptionstatic ClientIntent
ClientIntent.byId
(int pId) ClientIntentionPacket.intention()
Returns the value of theintention
record component.static ClientIntent
Returns the enum constant of this class with the specified name.static ClientIntent[]
ClientIntent.values()
Returns an array containing the constants of this enum class, in the order they are declared.Constructors in net.minecraft.network.protocol.handshake with parameters of type ClientIntentModifierConstructorDescriptionClientIntentionPacket
(int protocolVersion, String hostName, int port, ClientIntent intention) Deprecated.