Uses of Enum Class
net.minecraft.network.protocol.handshake.ClientIntent
-
Uses of ClientIntent in net.minecraft.network
Modifier and TypeMethodDescriptionprivate void
Connection.initiateServerboundConnection
(String p_294633_, int p_295471_, PacketListener p_294751_, ClientIntent p_294281_) void
Connection.setClientboundProtocolAfterHandshake
(ClientIntent p_294783_) -
Uses of ClientIntent in net.minecraft.network.protocol.handshake
Modifier and TypeFieldDescriptionprivate final ClientIntent
ClientIntentionPacket.intention
The field for theintention
record component.Modifier and TypeMethodDescriptionstatic ClientIntent
ClientIntent.byId
(int p_295065_) 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.ModifierConstructorDescriptionClientIntentionPacket
(int protocolVersion, String hostName, int port, ClientIntent intention) Deprecated.ClientIntentionPacket
(int protocolVersion, String hostName, int port, ClientIntent intention, String fmlVersion) Creates an instance of aClientIntentionPacket
record class.