Package net.minecraftforge.network
package net.minecraftforge.network
-
ClassDescriptionA class for holding the mod mismatch data of a failed handshake.Instance responsible for handling the overall FML impl handshake.HandshakeHandler.HandshakeConsumer<MSG extends IntSupplier>Notifies the client of a channel mismatch on the server, so a
ModMismatchDisconnectedScreen
is used to notify the user of the disconnection.Prefixes S2CModList by sending additional data about the mods installed on the server to the client The mod data is stored as follows: [modId -> [modName, modVersion]]Server to client "list of mods".IContainerFactory<T extends AbstractContainerMenu>ICustomPacket<T extends Packet<?>>Wrapper for custom login packets.Constants related to networkingNetworkDirection.Factory<T extends Packet<?>>Fired when the channel registration (see minecraft custom channel documentation) changes.Context forNetworkEvent
Dispatcher for sending packets in response to a received packet.The impl registry.Builder for constructing impl channels using a builder style API.Tracks individual outbound messages for dispatch to clients during login handling.Means to distribute packets in various waysA Distributor curried with a specific value instance, for actual dispatchUsed to spawn a custom entity without the same restrictions asClientboundAddEntityPacket
Represents additional data sent by FML when a server is pinged.