Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addClientboundIdentifierCustomPayloadListener(ICustomPayloadListener<Identifier>) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Adds a clientbound
ICustomPayloadListener<Identifier>. - addClientboundStringCustomPayloadListener(ICustomPayloadListener<String>) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Adds a clientbound
ICustomPayloadListener<String>. - addIdentifierCustomPayloadListener(IIdentifierCustomPayloadListener) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Deprecated.
- addServerboundIdentifierCustomPayloadListener(ICustomPayloadListener<Identifier>) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Adds a serverbound
ICustomPayloadListener<Identifier>. - addServerboundIdentifierCustomPayloadListener(IIdentifierCustomPayloadListener) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Deprecated.
- addServerboundStringCustomPayloadListener(ICustomPayloadListener<String>) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Adds a serverbound
ICustomPayloadListener<String>. - addServerboundStringCustomPayloadListener(IStringCustomPayloadListener) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Deprecated.
- addStringCustomPayloadListener(IStringCustomPayloadListener) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Deprecated.
B
- byProtocolVersion(int) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Gets a supported
IProtocolobject by its protocol version, ornullif the protocol is not supported
D
- doesServerKnow(Registry<T>, RegistryKey<T>) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Returns whether the given registry contains the given value on the server.
- doesServerKnow(Registry<T>, T) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Returns whether the given registry contains the given value on the server.
F
- forceSendCustomPayload(ClientPlayNetworkHandler, Identifier, PacketByteBuf) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
By default, multiconnect blocks non-vanilla client-to-server custom payload packets.
- forceSendCustomPayload(Identifier, PacketByteBuf) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Deprecated.Use
MultiConnectAPI.forceSendCustomPayload(ClientPlayNetworkHandler, Identifier, PacketByteBuf)instead.MinecraftClient.getInstance().getNetworkHandler()can return null before the game join packet has been received. - forceSendStringCustomPayload(String, PacketByteBuf) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Deprecated.Use
MultiConnectAPI.forceSendStringCustomPayload(ClientPlayNetworkHandler, String, PacketByteBuf)instead.MinecraftClient.getInstance().getNetworkHandler()can return null before the game join packet has been received. - forceSendStringCustomPayload(ClientPlayNetworkHandler, String, PacketByteBuf) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
By default, multiconnect blocks non-vanilla client-to-server custom payload packets.
G
- getChannel() - Method in interface net.earthcomputer.multiconnect.api.ICustomPayloadEvent
-
The custom payload channel.
- getData() - Method in interface net.earthcomputer.multiconnect.api.ICustomPayloadEvent
-
The payload itself.
- getDataVersion() - Method in interface net.earthcomputer.multiconnect.api.IProtocol
-
Returns the datafix version of this protocol
- getMajorRelease() - Method in interface net.earthcomputer.multiconnect.api.IProtocol
-
Returns the major release of this protocol.
- getMajorReleaseName() - Method in interface net.earthcomputer.multiconnect.api.IProtocol
-
Gets the name of the major release of this protocol.
- getMinorReleases() - Method in interface net.earthcomputer.multiconnect.api.IProtocol
-
If this protocol is a major release, returns a list of all minor releases (children) of this protocol, including this protocol.
- getName() - Method in interface net.earthcomputer.multiconnect.api.IProtocol
-
Returns the name of the Minecraft version that this protocol represents.
- getNetworkHandler() - Method in interface net.earthcomputer.multiconnect.api.ICustomPayloadEvent
-
The ClientPlayNetworkHandler that is being sent to or from.
- getProtocol() - Method in interface net.earthcomputer.multiconnect.api.ICustomPayloadEvent
-
The protocol version that the server is on, to be compared with values in
Protocols. - getProtocolVersion() - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Gets the protocol version of the server currently connected to, or the current game version if not connected to a server
- getSupportedProtocols() - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Returns a list of supported protocols, from newest to oldest
- getValue() - Method in interface net.earthcomputer.multiconnect.api.IProtocol
-
Returns the protocol version ID, to be compared with values in
Protocols.
I
- ICustomPayloadEvent<T> - Interface in net.earthcomputer.multiconnect.api
-
An event fired when custom payloads to or from older servers are blocked by multiconnect.
- ICustomPayloadListener<T> - Interface in net.earthcomputer.multiconnect.api
-
A listener for custom payloads.
- IIdentifierCustomPayloadListener - Interface in net.earthcomputer.multiconnect.api
-
Deprecated.Use
ICustomPayloadListenerinstead. - instance() - Static method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Returns the singleton instance of this API
- IProtocol - Interface in net.earthcomputer.multiconnect.api
-
Contains information about a supported protocol version
- isMajorRelease() - Method in interface net.earthcomputer.multiconnect.api.IProtocol
-
Returns whether this version is considered a major release, i.e.
- isMulticonnectBeta() - Method in interface net.earthcomputer.multiconnect.api.IProtocol
-
Returns whether this protocol is only in beta support by multiconnect, and may have stability issues when connected.
- IStringCustomPayloadListener - Interface in net.earthcomputer.multiconnect.api
-
Deprecated.Use
ICustomPayloadListenerinstead.
M
- MultiConnectAPI - Class in net.earthcomputer.multiconnect.api
-
The MultiConnect API
- MultiConnectAPI() - Constructor for class net.earthcomputer.multiconnect.api.MultiConnectAPI
N
- net.earthcomputer.multiconnect.api - package net.earthcomputer.multiconnect.api
O
- onCustomPayload(int, String, PacketByteBuf) - Method in interface net.earthcomputer.multiconnect.api.IStringCustomPayloadListener
-
Deprecated.
- onCustomPayload(int, Identifier, PacketByteBuf) - Method in interface net.earthcomputer.multiconnect.api.IIdentifierCustomPayloadListener
-
Deprecated.
- onCustomPayload(ICustomPayloadEvent<T>) - Method in interface net.earthcomputer.multiconnect.api.ICustomPayloadListener
-
Called on a custom payload.
P
- Protocols - Class in net.earthcomputer.multiconnect.api
-
Constants for each protocol number
- Protocols() - Constructor for class net.earthcomputer.multiconnect.api.Protocols
R
- removeClientboundIdentifierCustomPayloadListener(ICustomPayloadListener<Identifier>) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Removes a clientbound
ICustomPayloadListener<Identifier>. - removeClientboundStringCustomPayloadListener(ICustomPayloadListener<String>) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Removes a clientbound
ICustomPayloadListener<String>. - removeIdentifierCustomPayloadListener(IIdentifierCustomPayloadListener) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Deprecated.
- removeServerboundIdentifierCustomPayloadListener(ICustomPayloadListener<Identifier>) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Removes a serverbound
ICustomPayloadListener<Identifier>. - removeServerboundIdentifierCustomPayloadListener(IIdentifierCustomPayloadListener) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Deprecated.
- removeServerboundStringCustomPayloadListener(ICustomPayloadListener<String>) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Removes a serverbound
ICustomPayloadListener<String>. - removeServerboundStringCustomPayloadListener(IStringCustomPayloadListener) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Deprecated.
- removeStringCustomPayloadListener(IStringCustomPayloadListener) - Method in class net.earthcomputer.multiconnect.api.MultiConnectAPI
-
Deprecated.
T
- ThreadSafe - Annotation Interface in net.earthcomputer.multiconnect.api
-
Indicates that the annotated member may be called on multiple threads at once, or concurrently from the game thread, and therefore the implementation must take care when accessing shared state.
V
- V1_10 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_11 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_11_2 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_12 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_12_1 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_12_2 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_13 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_13_1 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_13_2 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_14 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_14_1 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_14_2 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_14_3 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_14_4 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_15 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_15_1 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_15_2 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_16 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_16_1 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_16_2 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_16_3 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_16_4 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
-
Deprecated.
- V1_16_5 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_17 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_17_1 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_18 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_8 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_9 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_9_1 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_9_2 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
- V1_9_4 - Static variable in class net.earthcomputer.multiconnect.api.Protocols
W
- withGameThread() - Element in annotation interface net.earthcomputer.multiconnect.api.ThreadSafe
-
Whether the annotated member may also be called from the game thread itself.
All Classes and Interfaces|All Packages|Constant Field Values
MultiConnectAPI.addClientboundIdentifierCustomPayloadListener(ICustomPayloadListener)instead.