Uses of Class
net.minecraftforge.fml.network.FMLHandshakeHandler
Packages that use FMLHandshakeHandler
-
Uses of FMLHandshakeHandler in net.minecraftforge.fml.network
Fields in net.minecraftforge.fml.network with type parameters of type FMLHandshakeHandlerModifier and TypeFieldDescription(package private) static final io.netty.util.AttributeKey<FMLHandshakeHandler>FMLNetworkConstants.FML_HANDSHAKE_HANDLERMethods in net.minecraftforge.fml.network that return FMLHandshakeHandlerModifier and TypeMethodDescriptionprivate static FMLHandshakeHandlerFMLHandshakeHandler.getHandshake(Supplier<NetworkEvent.Context> contextSupplier) Retrieve the handshake from theNetworkEvent.ContextMethod parameters in net.minecraftforge.fml.network with type arguments of type FMLHandshakeHandlerModifier and TypeMethodDescriptionstatic <MSG extends IntSupplier>
BiConsumer<MSG,Supplier<NetworkEvent.Context>> FMLHandshakeHandler.biConsumerFor(ThreeConsumer<FMLHandshakeHandler, ? super MSG, ? super Supplier<NetworkEvent.Context>> consumer) Transforms a two-argument instance method reference into aBiConsumerbased on thegetHandshake(Supplier)function.static <MSG extends IntSupplier>
BiConsumer<MSG,Supplier<NetworkEvent.Context>> FMLHandshakeHandler.indexFirst(ThreeConsumer<FMLHandshakeHandler, MSG, Supplier<NetworkEvent.Context>> next) Transforms a two-argument instance method reference into aBiConsumerbiConsumerFor(ThreeConsumer), first calling the#handleIndexedMessage(FMLHandshakeMessages.LoginIndexedMessage, Supplier)method to handle index tracking.