Package net.minecraftforge.fmllegacy.network
package net.minecraftforge.fmllegacy.network
-
InterfaceDescriptionIContainerFactory<T extends AbstractContainerMenu>ICustomPacket<T extends Packet<?>>
-
ClassDescriptionInstance responsible for handling the overall FML network handshake.Server to client "list of mods".Wrapper for custom login packets.Constants related to networkingUsed to spawn a custom entity without the same restrictions as
ClientboundAddEntityPacket
orClientboundAddMobPacket
To customize how your entity is created clientside (instead of using the default factory provided to theEntityType
) seeEntityType.Builder.setCustomClientFactory(java.util.function.BiFunction<net.minecraftforge.fmllegacy.network.FMLPlayMessages.SpawnEntity, net.minecraft.world.level.Level, T>)
.{ "fmlNetworkVersion" : FMLNETVERSION, "channels": [ { "res": "fml:handshake", "version": "1.2.3.4", "required": true } ], "mods": [ { "modid": "modid", "modmarker": "<somestring>" } ] }Fired when the channel registration (see minecraft custom channel documentation) changes.Context forNetworkEvent
The network registry.Builder for constructing network channels using a builder style API.Tracks individual outbound messages for dispatch to clients during login handling.Dispatcher for sending packets in response to a received packet.Means to distribute packets in various waysA Distributor curried with a specific value instance, for actual dispatch -
Enum ClassDescription